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-01-22 13:48:04 +0100
commit014ca5dd44350a7f9ae60aa6f5ea423681e979c9 (patch)
tree61f2fd8a245b4e7f39f82116083ff0ba92acfc91 /include/linux/mfd/pcf50633/core.h
parent91e891a0feb54bada927e9556cfa2dc7ced21489 (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 42f9af553ed..e69829b6e90 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;
@@ -41,6 +42,8 @@ struct pcf50633_platform_data {
u8 resumers[5];
struct pcf50633_bl_platform_data *backlight_data;
+
+ int gpio_base;
};
struct pcf50633_irq {
@@ -146,6 +149,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;