gpio: intel-mid: Make it depend to X86_INTEL_MID
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 7 Jul 2016 20:45:08 +0000 (23:45 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 22 Jul 2016 13:30:41 +0000 (15:30 +0200)
This GPIO controller is a part of Intel MID platforms which are somehow
different to pure PCs. Thus, there is no need that driver is compiled for them.

Replace dependency to X86_INTEL_MID.

While here, fix capitalization of MID abbreviation.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig

index 03aaa2a..94c6415 100644 (file)
@@ -1034,11 +1034,11 @@ config GPIO_BT8XX
          If unsure, say N.
 
 config GPIO_INTEL_MID
-       bool "Intel Mid GPIO support"
-       depends on X86
+       bool "Intel MID GPIO support"
+       depends on X86_INTEL_MID
        select GPIOLIB_IRQCHIP
        help
-         Say Y here to support Intel Mid GPIO.
+         Say Y here to support Intel MID GPIO.
 
 config GPIO_ML_IOH
        tristate "OKI SEMICONDUCTOR ML7213 IOH GPIO support"