summaryrefslogtreecommitdiffstats
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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/joystick/joydump.c b/drivers/input/joystick/joydump.c
index 2a1b82c8b31..cd894a0564a 100644
--- a/drivers/input/joystick/joydump.c
+++ b/drivers/input/joystick/joydump.c
@@ -161,8 +161,7 @@ static struct gameport_driver joydump_drv = {
static int __init joydump_init(void)
{
- gameport_register_driver(&joydump_drv);
- return 0;
+ return gameport_register_driver(&joydump_drv);
}
static void __exit joydump_exit(void)