[RFC] gameport: limit the PDPI L4 driver to X86.

From: Diego Elio PettenÃ
Date: Sat Mar 30 2013 - 10:46:43 EST


This driver, at least on ARM, can cause the kernel to fail with a
pointer dereference to address 0x210 (which it tries to outb to).

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..558cd5f 100644
--- a/drivers/input/gameport/Kconfig
+++ b/drivers/input/gameport/Kconfig
@@ -33,6 +33,7 @@ config GAMEPORT_NS558

config GAMEPORT_L4
tristate "PDPI Lightning 4 gamecard support"
+ depend X86
help
Say Y here if you have a PDPI Lightning 4 gamecard.

--
1.8.1.5

--
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/