diff options
Diffstat (limited to 'drivers/input/joystick/tmdc.c')
-rw-r--r-- | drivers/input/joystick/tmdc.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/input/joystick/tmdc.c b/drivers/input/joystick/tmdc.c index d6c609807115..5ef9bcdb0345 100644 --- a/drivers/input/joystick/tmdc.c +++ b/drivers/input/joystick/tmdc.c | |||
@@ -436,15 +436,4 @@ static struct gameport_driver tmdc_drv = { | |||
436 | .disconnect = tmdc_disconnect, | 436 | .disconnect = tmdc_disconnect, |
437 | }; | 437 | }; |
438 | 438 | ||
439 | static int __init tmdc_init(void) | 439 | module_gameport_driver(tmdc_drv); |
440 | { | ||
441 | return gameport_register_driver(&tmdc_drv); | ||
442 | } | ||
443 | |||
444 | static void __exit tmdc_exit(void) | ||
445 | { | ||
446 | gameport_unregister_driver(&tmdc_drv); | ||
447 | } | ||
448 | |||
449 | module_init(tmdc_init); | ||
450 | module_exit(tmdc_exit); | ||