diff options
-rw-r--r-- | drivers/Makefile | 4 | ||||
-rw-r--r-- | drivers/input/gameport/gameport.c | 2 | ||||
-rw-r--r-- | drivers/input/serio/serio.c | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/drivers/Makefile b/drivers/Makefile index 5c69b86db624..6495411337d8 100644 --- a/drivers/Makefile +++ b/drivers/Makefile | |||
@@ -25,9 +25,6 @@ obj-$(CONFIG_CONNECTOR) += connector/ | |||
25 | obj-$(CONFIG_FB_I810) += video/i810/ | 25 | obj-$(CONFIG_FB_I810) += video/i810/ |
26 | obj-$(CONFIG_FB_INTEL) += video/intelfb/ | 26 | obj-$(CONFIG_FB_INTEL) += video/intelfb/ |
27 | 27 | ||
28 | # we also need input/serio early so serio bus is initialized by the time | ||
29 | # serial drivers start registering their serio ports | ||
30 | obj-$(CONFIG_SERIO) += input/serio/ | ||
31 | obj-y += serial/ | 28 | obj-y += serial/ |
32 | obj-$(CONFIG_PARPORT) += parport/ | 29 | obj-$(CONFIG_PARPORT) += parport/ |
33 | obj-y += base/ block/ misc/ mfd/ net/ media/ | 30 | obj-y += base/ block/ misc/ mfd/ net/ media/ |
@@ -53,6 +50,7 @@ obj-$(CONFIG_TC) += tc/ | |||
53 | obj-$(CONFIG_USB) += usb/ | 50 | obj-$(CONFIG_USB) += usb/ |
54 | obj-$(CONFIG_PCI) += usb/ | 51 | obj-$(CONFIG_PCI) += usb/ |
55 | obj-$(CONFIG_USB_GADGET) += usb/gadget/ | 52 | obj-$(CONFIG_USB_GADGET) += usb/gadget/ |
53 | obj-$(CONFIG_SERIO) += input/serio/ | ||
56 | obj-$(CONFIG_GAMEPORT) += input/gameport/ | 54 | obj-$(CONFIG_GAMEPORT) += input/gameport/ |
57 | obj-$(CONFIG_INPUT) += input/ | 55 | obj-$(CONFIG_INPUT) += input/ |
58 | obj-$(CONFIG_I2O) += message/ | 56 | obj-$(CONFIG_I2O) += message/ |
diff --git a/drivers/input/gameport/gameport.c b/drivers/input/gameport/gameport.c index 9444702630c4..bcfd700829a1 100644 --- a/drivers/input/gameport/gameport.c +++ b/drivers/input/gameport/gameport.c | |||
@@ -797,5 +797,5 @@ static void __exit gameport_exit(void) | |||
797 | kthread_stop(gameport_task); | 797 | kthread_stop(gameport_task); |
798 | } | 798 | } |
799 | 799 | ||
800 | module_init(gameport_init); | 800 | subsys_initcall(gameport_init); |
801 | module_exit(gameport_exit); | 801 | module_exit(gameport_exit); |
diff --git a/drivers/input/serio/serio.c b/drivers/input/serio/serio.c index 79e5e77ce03e..966600779b70 100644 --- a/drivers/input/serio/serio.c +++ b/drivers/input/serio/serio.c | |||
@@ -924,5 +924,5 @@ static void __exit serio_exit(void) | |||
924 | kthread_stop(serio_task); | 924 | kthread_stop(serio_task); |
925 | } | 925 | } |
926 | 926 | ||
927 | module_init(serio_init); | 927 | subsys_initcall(serio_init); |
928 | module_exit(serio_exit); | 928 | module_exit(serio_exit); |