aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/joystick/spaceball.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/joystick/spaceball.c')
-rw-r--r--drivers/input/joystick/spaceball.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/drivers/input/joystick/spaceball.c b/drivers/input/joystick/spaceball.c
index 0cd9b29356a8..80a7b27a457a 100644
--- a/drivers/input/joystick/spaceball.c
+++ b/drivers/input/joystick/spaceball.c
@@ -296,19 +296,4 @@ static struct serio_driver spaceball_drv = {
296 .disconnect = spaceball_disconnect, 296 .disconnect = spaceball_disconnect,
297}; 297};
298 298
299/* 299module_serio_driver(spaceball_drv);
300 * The functions for inserting/removing us as a module.
301 */
302
303static int __init spaceball_init(void)
304{
305 return serio_register_driver(&spaceball_drv);
306}
307
308static void __exit spaceball_exit(void)
309{
310 serio_unregister_driver(&spaceball_drv);
311}
312
313module_init(spaceball_init);
314module_exit(spaceball_exit);