patch-2.3.48 linux/drivers/usb/input.c

Next file: linux/drivers/usb/joydev.c
Previous file: linux/drivers/usb/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.47/linux/drivers/usb/input.c linux/drivers/usb/input.c
@@ -31,7 +31,6 @@
 #include <linux/init.h>
 #include <linux/input.h>
 #include <linux/module.h>
-#include <linux/config.h>
 #include <linux/random.h>
 
 MODULE_AUTHOR("Vojtech Pavlik <vojtech@suse.cz>");
@@ -303,35 +302,3 @@
 		handleptr = &((*handleptr)->hnext);
 	*handleptr = (*handleptr)->hnext;
 }
-
-
-#ifdef MODULE
-int init_module(void)
-#else
-int __init input_init(void)
-#endif
-{
-#ifndef MODULE
-#ifdef CONFIG_INPUT_KEYBDEV
-	keybdev_init();
-#endif
-#ifdef CONFIG_INPUT_MOUSEDEV
-	mousedev_init();
-#endif
-#ifdef CONFIG_INPUT_JOYDEV
-	joydev_init();
-#endif
-#ifdef CONFIG_INPUT_EVDEV
-	evdev_init();
-#endif
-#endif
-	return 0;
-}
-
-#ifdef MODULE
-void cleanup_module(void)
-{
-}
-#endif
-
-__initcall(input_init);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)