diff options
Diffstat (limited to 'drivers/input/joystick/amijoy.c')
-rw-r--r-- | drivers/input/joystick/amijoy.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/joystick/amijoy.c b/drivers/input/joystick/amijoy.c index 0bc86204213e..3aa93bf60ae3 100644 --- a/drivers/input/joystick/amijoy.c +++ b/drivers/input/joystick/amijoy.c | |||
@@ -108,6 +108,9 @@ static int __init amijoy_init(void) | |||
108 | int i, j; | 108 | int i, j; |
109 | int err; | 109 | int err; |
110 | 110 | ||
111 | if (!MACH_IS_AMIGA) | ||
112 | return -ENODEV; | ||
113 | |||
111 | for (i = 0; i < 2; i++) { | 114 | for (i = 0; i < 2; i++) { |
112 | if (!amijoy[i]) | 115 | if (!amijoy[i]) |
113 | continue; | 116 | continue; |