[PATCH] gameport: limit the configuration to x86 architecture.

From: Diego Elio PettenÃ
Date: Thu Jun 06 2013 - 09:00:01 EST


The gameport driver relies on features of x86/x86-64, so it's unlikely
that it could work on other architectures. Furthermore the l4 driver
can panic a kernel running on ARM (for instance) by trying to access
the 0x204 address.

Signed-off-by: Diego Elio Pettenà <flameeyes@xxxxxxxxxxxx>
---
drivers/input/gameport/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/input/gameport/Kconfig b/drivers/input/gameport/Kconfig
index d279454..611abed 100644
--- a/drivers/input/gameport/Kconfig
+++ b/drivers/input/gameport/Kconfig
@@ -3,6 +3,7 @@
#
config GAMEPORT
tristate "Gameport support"
+ depends on X86
---help---
Gameport support is for the standard 15-pin PC gameport. If you
have a joystick, gamepad, gameport card, a soundcard with a gameport
--
1.8.2.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/