diff options
Diffstat (limited to 'drivers/input/joystick/joydump.c')
-rw-r--r-- | drivers/input/joystick/joydump.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/input/joystick/joydump.c b/drivers/input/joystick/joydump.c index cd894a0564a2..7eb878bab968 100644 --- a/drivers/input/joystick/joydump.c +++ b/drivers/input/joystick/joydump.c | |||
@@ -159,15 +159,4 @@ static struct gameport_driver joydump_drv = { | |||
159 | .disconnect = joydump_disconnect, | 159 | .disconnect = joydump_disconnect, |
160 | }; | 160 | }; |
161 | 161 | ||
162 | static int __init joydump_init(void) | 162 | module_gameport_driver(joydump_drv); |
163 | { | ||
164 | return gameport_register_driver(&joydump_drv); | ||
165 | } | ||
166 | |||
167 | static void __exit joydump_exit(void) | ||
168 | { | ||
169 | gameport_unregister_driver(&joydump_drv); | ||
170 | } | ||
171 | |||
172 | module_init(joydump_init); | ||
173 | module_exit(joydump_exit); | ||