Skip to contentSkip to conversation

gpio: intel-mid: Make it depend to X86_INTEL_MID

PATCH In review Andy Shevchenko 3 participants 3 messages Jul 7, 2016 – Jul 11, 2016 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/gpio/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpio/Kconfig +3 -3
index c9e9e55..98dd47a 100644
@@ -1038,11 +1038,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_MERRIFIELD
 	tristate "Intel Merrifield GPIO support"
Signature · 1 line
2.8.1
#2 lore raw
In reply to Andy Shevchenko
Quoted 8 lines · Andy Shevchenko

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.

Patch applied.

Previously I might have complained about the loss of compilation coverage and "what about COMPILE_TEST" but it bit me so hard in -next that I'm not pushing the point anymore...

Yours,
Linus Walleij