diff options
-rw-r--r-- | drivers/gpio/Kconfig | 2 | ||||
-rw-r--r-- | drivers/gpio/gpio-lynxpoint.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 93aaadf99f28..704d01d67522 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig | |||
@@ -303,7 +303,7 @@ config GPIO_GE_FPGA | |||
303 | 303 | ||
304 | config GPIO_LYNXPOINT | 304 | config GPIO_LYNXPOINT |
305 | bool "Intel Lynxpoint GPIO support" | 305 | bool "Intel Lynxpoint GPIO support" |
306 | depends on ACPI | 306 | depends on ACPI && X86 |
307 | select IRQ_DOMAIN | 307 | select IRQ_DOMAIN |
308 | help | 308 | help |
309 | driver for GPIO functionality on Intel Lynxpoint PCH chipset | 309 | driver for GPIO functionality on Intel Lynxpoint PCH chipset |
diff --git a/drivers/gpio/gpio-lynxpoint.c b/drivers/gpio/gpio-lynxpoint.c index 3472b05ac512..86c17de87692 100644 --- a/drivers/gpio/gpio-lynxpoint.c +++ b/drivers/gpio/gpio-lynxpoint.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <linux/acpi.h> | 32 | #include <linux/acpi.h> |
33 | #include <linux/platform_device.h> | 33 | #include <linux/platform_device.h> |
34 | #include <linux/pm_runtime.h> | 34 | #include <linux/pm_runtime.h> |
35 | #include <linux/io.h> | ||
35 | 36 | ||
36 | /* LynxPoint chipset has support for 94 gpio pins */ | 37 | /* LynxPoint chipset has support for 94 gpio pins */ |
37 | 38 | ||