input: serio: disable i8042 for non-cayman sh platforms.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 25 May 2010 10:47:12 +0000 (19:47 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 25 May 2010 10:47:12 +0000 (19:47 +0900)
The sh64 cayman platform is the only sh board that ships with an i8042,
so we just hide it for all of the others.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/input/serio/Kconfig

index f34f1db..3bfe8fa 100644 (file)
@@ -21,7 +21,8 @@ if SERIO
 config SERIO_I8042
        tristate "i8042 PC Keyboard controller" if EMBEDDED || !X86
        default y
-       depends on !PARISC && (!ARM || ARCH_SHARK || FOOTBRIDGE_HOST) && !M68K && !BLACKFIN
+       depends on !PARISC && (!ARM || ARCH_SHARK || FOOTBRIDGE_HOST) && \
+                  (!SUPERH || SH_CAYMAN) && !M68K && !BLACKFIN
        help
          i8042 is the chip over which the standard AT keyboard and PS/2
          mouse are connected to the computer. If you use these devices,