diff options
author | Seth Heasley <seth.heasley@intel.com> | 2012-05-22 16:54:20 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-05-22 17:39:14 -0400 |
commit | 77820ffae678fa7ff6cc155354825b6b1a023afb (patch) | |
tree | 8bc685ea2a3a867042c2537b04cce2c48cf597bb /drivers/gpio/gpio-sch.c | |
parent | 1fe17a24e2fe0a9554d19a4249eb2d80050ecb8c (diff) |
gpio: Add Intel Centerton support to gpio-sch
This patch adds the Intel Centerton processor device ID for GPIO.
The device ID is defined in include/linux/pci_ids.h
Signed-off-by: Seth Heasley <seth.heasley@intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/gpio/gpio-sch.c')
-rw-r--r-- | drivers/gpio/gpio-sch.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-sch.c b/drivers/gpio/gpio-sch.c index 8cadf4d683a8..424dce8e3f30 100644 --- a/drivers/gpio/gpio-sch.c +++ b/drivers/gpio/gpio-sch.c | |||
@@ -232,6 +232,14 @@ static int __devinit sch_gpio_probe(struct platform_device *pdev) | |||
232 | sch_gpio_resume.ngpio = 9; | 232 | sch_gpio_resume.ngpio = 9; |
233 | break; | 233 | break; |
234 | 234 | ||
235 | case PCI_DEVICE_ID_INTEL_CENTERTON_ILB: | ||
236 | sch_gpio_core.base = 0; | ||
237 | sch_gpio_core.ngpio = 21; | ||
238 | |||
239 | sch_gpio_resume.base = 21; | ||
240 | sch_gpio_resume.ngpio = 9; | ||
241 | break; | ||
242 | |||
235 | default: | 243 | default: |
236 | return -ENODEV; | 244 | return -ENODEV; |
237 | } | 245 | } |