x86 plat: limit x86 platform driver menu to X86
authorJan Engelhardt <jengelh@medozas.de>
Mon, 2 Aug 2010 22:40:10 +0000 (00:40 +0200)
committerMatthew Garrett <mjg@redhat.com>
Tue, 3 Aug 2010 13:49:13 +0000 (09:49 -0400)
My .config contains ACER_WMI=m. On SPARC. That does not make sense.
Restrict the x86 platform driver menu to x86.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/Kconfig

index f6444af..79baa63 100644 (file)
@@ -5,6 +5,7 @@
 menuconfig X86_PLATFORM_DEVICES
        bool "X86 Platform Specific Device Drivers"
        default y
+       depends on X86
        ---help---
          Say Y here to get to see options for device drivers for various
          x86 platforms, including vendor-specific laptop extension drivers.