diff options
Diffstat (limited to 'drivers/input/joystick/sidewinder.c')
-rw-r--r-- | drivers/input/joystick/sidewinder.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/input/joystick/sidewinder.c b/drivers/input/joystick/sidewinder.c index b8d86115644b..04c69af37148 100644 --- a/drivers/input/joystick/sidewinder.c +++ b/drivers/input/joystick/sidewinder.c | |||
@@ -820,15 +820,4 @@ static struct gameport_driver sw_drv = { | |||
820 | .disconnect = sw_disconnect, | 820 | .disconnect = sw_disconnect, |
821 | }; | 821 | }; |
822 | 822 | ||
823 | static int __init sw_init(void) | 823 | module_gameport_driver(sw_drv); |
824 | { | ||
825 | return gameport_register_driver(&sw_drv); | ||
826 | } | ||
827 | |||
828 | static void __exit sw_exit(void) | ||
829 | { | ||
830 | gameport_unregister_driver(&sw_drv); | ||
831 | } | ||
832 | |||
833 | module_init(sw_init); | ||
834 | module_exit(sw_exit); | ||