linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gpio-pch: Fix Kconfig dependencies
@ 2014-05-16  9:59 Jean Delvare
  2014-05-23 11:25 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2014-05-16  9:59 UTC (permalink / raw)
  To: linux-gpio; +Cc: Linus Walleij, Alexandre Courbot

The gpio-pch driver is for a companion chip to the Intel Atom E600
series processors. These are 32-bit x86 processors so the driver is
only needed on X86_32. Add COMPILE_TEST as an alternative, so that the
driver can still be build-tested elsewhere.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Alexandre Courbot <gnurou@gmail.com>
---
 drivers/gpio/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-3.15-rc5.orig/drivers/gpio/Kconfig	2014-05-12 10:44:35.223342067 +0200
+++ linux-3.15-rc5/drivers/gpio/Kconfig	2014-05-16 11:41:19.838319948 +0200
@@ -705,7 +705,7 @@ config GPIO_INTEL_MID
 
 config GPIO_PCH
 	tristate "Intel EG20T PCH/LAPIS Semiconductor IOH(ML7223/ML7831) GPIO"
-	depends on PCI && X86
+	depends on PCI && (X86_32 || COMPILE_TEST)
 	select GENERIC_IRQ_CHIP
 	help
 	  This driver is for PCH(Platform controller Hub) GPIO of Intel Topcliff


-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] gpio-pch: Fix Kconfig dependencies
  2014-05-16  9:59 [PATCH] gpio-pch: Fix Kconfig dependencies Jean Delvare
@ 2014-05-23 11:25 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2014-05-23 11:25 UTC (permalink / raw)
  To: Jean Delvare; +Cc: linux-gpio@vger.kernel.org, Alexandre Courbot

On Fri, May 16, 2014 at 11:59 AM, Jean Delvare <jdelvare@suse.de> wrote:

> The gpio-pch driver is for a companion chip to the Intel Atom E600
> series processors. These are 32-bit x86 processors so the driver is
> only needed on X86_32. Add COMPILE_TEST as an alternative, so that the
> driver can still be build-tested elsewhere.
>
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: Alexandre Courbot <gnurou@gmail.com>

Patch applied.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-23 11:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-16  9:59 [PATCH] gpio-pch: Fix Kconfig dependencies Jean Delvare
2014-05-23 11:25 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).