diff options
author | Dmitry Torokhov <dtor_core@ameritech.net> | 2006-02-19 06:22:51 +0100 |
---|---|---|
committer | Dmitry Torokhov <dtor_core@ameritech.net> | 2006-02-19 06:22:51 +0100 |
commit | 51c38f9bce274a1e8a90aa457fb433be738f7458 (patch) | |
tree | 1a04a18c40f7705c8b001f5483b95bdd38727c6f /drivers/input/gameport | |
parent | Input: uinput - semaphore to mutex conversion (diff) | |
download | linux-51c38f9bce274a1e8a90aa457fb433be738f7458.tar.xz linux-51c38f9bce274a1e8a90aa457fb433be738f7458.zip |
Input: initialize serio and gameport at subsystem level
Serio and gameport cores do not depend on other drivers and are
used by code living outside of drivers/input/{gameport|serio}.
Registering them at subsystem level guarantees that they are
fully initialized before anyone tries to use them.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/gameport')
-rw-r--r-- | drivers/input/gameport/gameport.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) kthread_stop(gameport_task); } -module_init(gameport_init); +subsys_initcall(gameport_init); module_exit(gameport_exit); |