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 24044dacbf70..c65b5fa69f1e 100644 --- a/drivers/input/joystick/amijoy.c +++ b/drivers/input/joystick/amijoy.c | |||
@@ -107,6 +107,9 @@ static int __init amijoy_init(void) | |||
107 | int i, j; | 107 | int i, j; |
108 | int err; | 108 | int err; |
109 | 109 | ||
110 | if (!MACH_IS_AMIGA) | ||
111 | return -ENODEV; | ||
112 | |||
110 | for (i = 0; i < 2; i++) { | 113 | for (i = 0; i < 2; i++) { |
111 | if (!amijoy[i]) | 114 | if (!amijoy[i]) |
112 | continue; | 115 | continue; |