diff options
Diffstat (limited to 'drivers/input/joystick/cobra.c')
-rw-r--r-- | drivers/input/joystick/cobra.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/input/joystick/cobra.c b/drivers/input/joystick/cobra.c index 3497b87c3d05..65367e44d715 100644 --- a/drivers/input/joystick/cobra.c +++ b/drivers/input/joystick/cobra.c | |||
@@ -261,15 +261,4 @@ static struct gameport_driver cobra_drv = { | |||
261 | .disconnect = cobra_disconnect, | 261 | .disconnect = cobra_disconnect, |
262 | }; | 262 | }; |
263 | 263 | ||
264 | static int __init cobra_init(void) | 264 | module_gameport_driver(cobra_drv); |
265 | { | ||
266 | return gameport_register_driver(&cobra_drv); | ||
267 | } | ||
268 | |||
269 | static void __exit cobra_exit(void) | ||
270 | { | ||
271 | gameport_unregister_driver(&cobra_drv); | ||
272 | } | ||
273 | |||
274 | module_init(cobra_init); | ||
275 | module_exit(cobra_exit); | ||