aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mfd/pcf50633/core.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-01-22 12:47:01 +0100
committerLars-Peter Clausen <lars@metafoo.de>2010-05-17 19:59:41 +0200
commit1608707cca9c9eac88f34a48346435dc0bd75259 (patch)
tree9c6feaea6fc9ba4a0b74742af272d556630cd693 /include/linux/mfd/pcf50633/core.h
parentc93252fe4964991bc6d2b200f740fe59995f3342 (diff)
pcf50633-gpio: Add gpiolib support.
Diffstat (limited to 'include/linux/mfd/pcf50633/core.h')
-rw-r--r--include/linux/mfd/pcf50633/core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mfd/pcf50633/core.h b/include/linux/mfd/pcf50633/core.h
index ad411a78870..9953fa14ec9 100644
--- a/include/linux/mfd/pcf50633/core.h
+++ b/include/linux/mfd/pcf50633/core.h
@@ -19,6 +19,7 @@
#include <linux/regulator/machine.h>
#include <linux/power_supply.h>
#include <linux/mfd/pcf50633/backlight.h>
+#include <linux/gpio.h>
struct pcf50633;
@@ -46,6 +47,8 @@ struct pcf50633_platform_data {
u8 resumers[5];
struct pcf50633_bl_platform_data *backlight_data;
+
+ int gpio_base;
};
struct pcf50633_irq {
@@ -151,6 +154,7 @@ struct pcf50633 {
int onkey1s_held;
+ struct platform_device *gpio_pdev;
struct platform_device *rtc_pdev;
struct platform_device *mbc_pdev;
struct platform_device *adc_pdev;