diff options
author | Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> | 2011-09-27 18:00:35 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@linaro.org> | 2012-03-19 08:55:52 +0100 |
commit | e83a04975da273d14e14b41123d9ec24b30dcb65 (patch) | |
tree | e8623fb9c28491769afdf2902d1adea7452ac599 /include/linux/mfd | |
parent | 92917f627290e265668c13712396f09cda46716f (diff) |
gpio: ab8500: use gpio base number defined for the platform
Change-Id: I84da2cbc3a482d0c54ec489874fc040d8c79eda8
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32347
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/abx500/ab8500-gpio.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/mfd/abx500/ab8500-gpio.h b/include/linux/mfd/abx500/ab8500-gpio.h index e5779b7418e..d88e3025317 100644 --- a/include/linux/mfd/abx500/ab8500-gpio.h +++ b/include/linux/mfd/abx500/ab8500-gpio.h @@ -8,6 +8,8 @@ #ifndef _AB8500_GPIO_H #define _AB8500_GPIO_H +#include <mach/gpio.h> + /* * Platform data to register a block: only the initial gpio/irq number. */ @@ -21,7 +23,7 @@ struct ab8500_gpio_platform_data { }; enum ab8500_pin { - AB8500_PIN_GPIO1 = 0, + AB8500_PIN_GPIO1 = AB8500_GPIO_BASE, AB8500_PIN_GPIO2, AB8500_PIN_GPIO3, AB8500_PIN_GPIO4, |