summaryrefslogtreecommitdiffstats
path: root/drivers/usb/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/input.c')
-rw-r--r--drivers/usb/input.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/drivers/usb/input.c b/drivers/usb/input.c
index d613976f5..e370927b3 100644
--- a/drivers/usb/input.c
+++ b/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 @@ void input_close_device(struct input_handle *handle)
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);