aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mfd/pcf50633/core.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2009-11-02 19:54:35 +0100
committerLars-Peter Clausen <lars@metafoo.de>2009-11-02 21:34:09 +0100
commit9bc6c2e96286f0b27d73ec0c56eb12a0c214f648 (patch)
treed8f764be30505da682968de438f7d7f9c59f578e /include/linux/mfd/pcf50633/core.h
parent9764dbf8d7c32d95c198d587d59b8ed30e2c2c15 (diff)
backlight/mfd: Add pcf50633 backlight driver
This patch adds a backlight driver controling the pcf50633 led converter. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
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 e304238dbc5..42f9af553ed 100644
--- a/include/linux/mfd/pcf50633/core.h
+++ b/include/linux/mfd/pcf50633/core.h
@@ -18,6 +18,7 @@
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>
#include <linux/power_supply.h>
+#include <linux/mfd/pcf50633/backlight.h>
struct pcf50633;
@@ -38,6 +39,8 @@ struct pcf50633_platform_data {
void (*force_shutdown)(struct pcf50633 *);
u8 resumers[5];
+
+ struct pcf50633_bl_platform_data *backlight_data;
};
struct pcf50633_irq {
@@ -147,6 +150,7 @@ struct pcf50633 {
struct platform_device *mbc_pdev;
struct platform_device *adc_pdev;
struct platform_device *input_pdev;
+ struct platform_device *bl_pdev;
struct platform_device *regulator_pdev[PCF50633_NUM_REGULATORS];
};