diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2013-03-08 07:38:12 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-03-27 11:05:09 -0400 |
commit | 977d16b87a78844f090af0565cbd2e3a94fd6337 (patch) | |
tree | 7a9e8a3fb53e935534f68650135d410ba0a523f4 /drivers | |
parent | 61d793bbfb76ea6740dd1c1a4f2cdac57a0c1c5c (diff) |
gpio-lynxpoint: Add X86 dependency and io-port handling header.
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>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers')
-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 | ||