summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/linux/mfd/abx500/ab8500-gpio.h4
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 48325dbce17..c362b805104 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.
* Array sizes are large enough to contain all AB8500 and AB9540 GPIO
@@ -23,7 +25,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,