aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/joystick/joydump.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/joystick/joydump.c')
-rw-r--r--drivers/input/joystick/joydump.c13
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
162static int __init joydump_init(void) 162module_gameport_driver(joydump_drv);
163{
164 return gameport_register_driver(&joydump_drv);
165}
166
167static void __exit joydump_exit(void)
168{
169 gameport_unregister_driver(&joydump_drv);
170}
171
172module_init(joydump_init);
173module_exit(joydump_exit);