summaryrefslogtreecommitdiff
path: root/include/linux/mfd/abx500/ab8500-gpio.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2011-12-02 14:16:33 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2012-01-09 00:37:39 +0100
commitee66e653ca7425bc8ffca4e00f19a8057cd14e4d (patch)
treee566da76e2588bc4871df677063f302213be0427 /include/linux/mfd/abx500/ab8500-gpio.h
parent83051b7287e43241ccb6adaaa92615a87274898b (diff)
mfd: Unify abx500 headers in mfd/abx500
This moves all the header files related to the abx500 family into a common include directory below mfd. From now on we place any subchip header in that directory. Headers previously in e.g. <linux/mfd/ab8500/gpio.h> get prefixed and are now e.g. <linux/mfd/abx500/ab8500-gpio.h>. The top-level abstract interface remains in <linux/mfd/abx500.h>. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/abx500/ab8500-gpio.h')
-rw-r--r--include/linux/mfd/abx500/ab8500-gpio.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/mfd/abx500/ab8500-gpio.h b/include/linux/mfd/abx500/ab8500-gpio.h
new file mode 100644
index 00000000000..488a8c920a2
--- /dev/null
+++ b/include/linux/mfd/abx500/ab8500-gpio.h
@@ -0,0 +1,21 @@
+/*
+ * Copyright ST-Ericsson 2010.
+ *
+ * Author: Bibek Basu <bibek.basu@stericsson.com>
+ * Licensed under GPLv2.
+ */
+
+#ifndef _AB8500_GPIO_H
+#define _AB8500_GPIO_H
+
+/*
+ * Platform data to register a block: only the initial gpio/irq number.
+ */
+
+struct ab8500_gpio_platform_data {
+ int gpio_base;
+ u32 irq_base;
+ u8 config_reg[7];
+};
+
+#endif /* _AB8500_GPIO_H */