summaryrefslogtreecommitdiff
path: root/drivers/input/joystick
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2012-03-27 11:27:10 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-03-27 11:27:10 +0400
commit993808253ca256b8ca7f8ff90d9935d7c99cd32d (patch)
treeff51c2b3f7625ae8d89b45962cc3dbc59a5152f8 /drivers/input/joystick
parent10ce3cc919f50c2043b41ca968b43c26a3672600 (diff)
parent131c713fd96e251fcb18f4d2d05f263aa41bb11f (diff)
downloadlinux-993808253ca256b8ca7f8ff90d9935d7c99cd32d.tar.xz
Merge branch 'next' into for-linus
Conflicts: drivers/input/tablet/wacom_sys.c
Diffstat (limited to 'drivers/input/joystick')
-rw-r--r--drivers/input/joystick/amijoy.c3
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)
int i, j;
int err;
+ if (!MACH_IS_AMIGA)
+ return -ENODEV;
+
for (i = 0; i < 2; i++) {
if (!amijoy[i])
continue;