Skip to contentSkip to conversation

gpio-lynxpoint: Add X86 dependency and io-port handling header.

PATCH In review Mathias Nyman 3 participants 3 messages Mar 8, 2013 – Mar 27, 2013 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio-lynxpoint: Add X86 dependency and io-port handling header.

Lynxpoint gpio driver uses X86 specific io-ports to control gpios

---
 drivers/gpio/Kconfig          |    2 +-
 drivers/gpio/gpio-lynxpoint.c |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
drivers/gpio/Kconfig +1 -1
index 93aaadf..704d01d 100644
@@ -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
drivers/gpio/gpio-lynxpoint.c +1 -0
index 3472b05..86c17de 100644
@@ -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 */
 
Signature · 1 line
1.7.4.1