* [PATCH] gpio-lynxpoint: Add X86 dependency and io-port handling header.
@ 2013-03-08 12:38 Mathias Nyman
2013-03-08 12:49 ` Mika Westerberg
2013-03-27 8:23 ` Linus Walleij
0 siblings, 2 replies; 3+ messages in thread
From: Mathias Nyman @ 2013-03-08 12:38 UTC (permalink / raw)
To: Linus; +Cc: grant.likely, linux-kernel, mika.westerberg, Mathias Nyman
Lynxpoint gpio driver uses X86 specific io-ports to control gpios
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
---
drivers/gpio/Kconfig | 2 +-
drivers/gpio/gpio-lynxpoint.c | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 93aaadf..704d01d 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -303,7 +303,7 @@ config GPIO_GE_FPGA
config GPIO_LYNXPOINT
bool "Intel Lynxpoint GPIO support"
- depends on ACPI
+ depends on ACPI && X86
select IRQ_DOMAIN
help
driver for GPIO functionality on Intel Lynxpoint PCH chipset
diff --git a/drivers/gpio/gpio-lynxpoint.c b/drivers/gpio/gpio-lynxpoint.c
index 3472b05..86c17de 100644
--- a/drivers/gpio/gpio-lynxpoint.c
+++ b/drivers/gpio/gpio-lynxpoint.c
@@ -32,6 +32,7 @@
#include <linux/acpi.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
+#include <linux/io.h>
/* LynxPoint chipset has support for 94 gpio pins */
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] gpio-lynxpoint: Add X86 dependency and io-port handling header.
2013-03-08 12:38 [PATCH] gpio-lynxpoint: Add X86 dependency and io-port handling header Mathias Nyman
@ 2013-03-08 12:49 ` Mika Westerberg
2013-03-27 8:23 ` Linus Walleij
1 sibling, 0 replies; 3+ messages in thread
From: Mika Westerberg @ 2013-03-08 12:49 UTC (permalink / raw)
To: Mathias Nyman; +Cc: Linus, grant.likely, linux-kernel
On Fri, Mar 08, 2013 at 02:38:12PM +0200, Mathias Nyman wrote:
> Lynxpoint gpio driver uses X86 specific io-ports to control gpios
>
> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] gpio-lynxpoint: Add X86 dependency and io-port handling header.
2013-03-08 12:38 [PATCH] gpio-lynxpoint: Add X86 dependency and io-port handling header Mathias Nyman
2013-03-08 12:49 ` Mika Westerberg
@ 2013-03-27 8:23 ` Linus Walleij
1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2013-03-27 8:23 UTC (permalink / raw)
To: Mathias Nyman; +Cc: grant.likely, linux-kernel, mika.westerberg
On Fri, Mar 8, 2013 at 1:38 PM, Mathias Nyman
<mathias.nyman@linux.intel.com> wrote:
> Lynxpoint gpio driver uses X86 specific io-ports to control gpios
>
> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Patch applied with Mika's ACK.
Thanks!
Linus Walleij
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-03-27 8:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-08 12:38 [PATCH] gpio-lynxpoint: Add X86 dependency and io-port handling header Mathias Nyman
2013-03-08 12:49 ` Mika Westerberg
2013-03-27 8:23 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox