diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-03-27 11:27:10 +0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-03-27 11:27:10 +0400 |
commit | 993808253ca256b8ca7f8ff90d9935d7c99cd32d (patch) | |
tree | ff51c2b3f7625ae8d89b45962cc3dbc59a5152f8 /drivers/input/joystick | |
parent | 10ce3cc919f50c2043b41ca968b43c26a3672600 (diff) | |
parent | 131c713fd96e251fcb18f4d2d05f263aa41bb11f (diff) | |
download | linux-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.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) int i, j; int err; + if (!MACH_IS_AMIGA) + return -ENODEV; + for (i = 0; i < 2; i++) { if (!amijoy[i]) continue; |