浏览代码

gpio: intel-mid: Make it depend to X86_INTEL_MID

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>
Andy Shevchenko 9 年之前
父节点
当前提交
c78e3cf14e
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      drivers/gpio/Kconfig

+ 3 - 3
drivers/gpio/Kconfig

@@ -1034,11 +1034,11 @@ config GPIO_BT8XX
 	  If unsure, say N.
 	  If unsure, say N.
 
 
 config GPIO_INTEL_MID
 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
 	select GPIOLIB_IRQCHIP
 	help
 	help
-	  Say Y here to support Intel Mid GPIO.
+	  Say Y here to support Intel MID GPIO.
 
 
 config GPIO_ML_IOH
 config GPIO_ML_IOH
 	tristate "OKI SEMICONDUCTOR ML7213 IOH GPIO support"
 	tristate "OKI SEMICONDUCTOR ML7213 IOH GPIO support"