summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@marvell.com>2011-03-07 23:43:09 +0800
committerSamuel Ortiz <sameo@linux.intel.com>2011-03-23 10:42:05 +0100
commitadb70483f4d560323db9aaca5f066fde4d96f339 (patch)
treeb429a9a294fde03d21df32c1a4cb243174997df6 /include/linux/mfd
parentd7e8c01a97429101cb0ca2c09380e683c3814af8 (diff)
downloadblackbird-obmc-linux-adb70483f4d560323db9aaca5f066fde4d96f339.tar.gz
blackbird-obmc-linux-adb70483f4d560323db9aaca5f066fde4d96f339.zip
mfd: Adopt mfd_data in 88pm860x backlight
Copy 88pm860x platform data into different mfd_data structure for backlight driver. So move the identification of device node from backlight driver to mfd driver. Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/88pm860x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/88pm860x.h b/include/linux/mfd/88pm860x.h
index 4db1fbd8969e..f790d3766228 100644
--- a/include/linux/mfd/88pm860x.h
+++ b/include/linux/mfd/88pm860x.h
@@ -356,10 +356,10 @@ struct pm860x_platform_data {
int i2c_port; /* Controlled by GI2C or PI2C */
int irq_mode; /* Clear interrupt by read/write(0/1) */
int irq_base; /* IRQ base number of 88pm860x */
+ int num_backlights;
struct regulator_init_data *regulator[PM8607_MAX_REGULATOR];
};
-extern char pm860x_backlight_name[][MFD_NAME_SIZE];
extern char pm860x_led_name[][MFD_NAME_SIZE];
extern int pm860x_reg_read(struct i2c_client *, int);
OpenPOWER on IntegriCloud