diff mbox

[v1,1/1] gpio: intel-mid: Make it depend to X86_INTEL_MID

Message ID 1467924308-137452-1-git-send-email-andriy.shevchenko@linux.intel.com
State New
Headers show

Commit Message

Andy Shevchenko July 7, 2016, 8:45 p.m. UTC
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>
---
 drivers/gpio/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Mika Westerberg July 8, 2016, 9:31 a.m. UTC | #1
On Thu, Jul 07, 2016 at 11:45:08PM +0300, Andy Shevchenko wrote:
> 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>

Makes sense,

Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Linus Walleij July 11, 2016, 9 a.m. UTC | #2
On Thu, Jul 7, 2016 at 10:45 PM, Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:

> 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>

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
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index c9e9e55..98dd47a 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -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"