aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/88pm860x.h
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@marvell.com>2011-03-07 10:43:10 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2011-03-23 05:42:06 -0400
commit3154c344696e58b7e15317cd624816dbe3832ad1 (patch)
tree7b908eacd6a6d423105faa980a31af9be3692dbe /include/linux/mfd/88pm860x.h
parentadb70483f4d560323db9aaca5f066fde4d96f339 (diff)
mfd: Adopt mfd_data in 88pm860x led
Copy 88pm860x platform data into different mfd_data structure for led driver. So move the identification of device node from led 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/88pm860x.h')
-rw-r--r--include/linux/mfd/88pm860x.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/mfd/88pm860x.h b/include/linux/mfd/88pm860x.h
index f790d3766228..ff606140f4b4 100644
--- a/include/linux/mfd/88pm860x.h
+++ b/include/linux/mfd/88pm860x.h
@@ -356,12 +356,11 @@ struct pm860x_platform_data {
356 int i2c_port; /* Controlled by GI2C or PI2C */ 356 int i2c_port; /* Controlled by GI2C or PI2C */
357 int irq_mode; /* Clear interrupt by read/write(0/1) */ 357 int irq_mode; /* Clear interrupt by read/write(0/1) */
358 int irq_base; /* IRQ base number of 88pm860x */ 358 int irq_base; /* IRQ base number of 88pm860x */
359 int num_leds;
359 int num_backlights; 360 int num_backlights;
360 struct regulator_init_data *regulator[PM8607_MAX_REGULATOR]; 361 struct regulator_init_data *regulator[PM8607_MAX_REGULATOR];
361}; 362};
362 363
363extern char pm860x_led_name[][MFD_NAME_SIZE];
364
365extern int pm860x_reg_read(struct i2c_client *, int); 364extern int pm860x_reg_read(struct i2c_client *, int);
366extern int pm860x_reg_write(struct i2c_client *, int, unsigned char); 365extern int pm860x_reg_write(struct i2c_client *, int, unsigned char);
367extern int pm860x_bulk_read(struct i2c_client *, int, int, unsigned char *); 366extern int pm860x_bulk_read(struct i2c_client *, int, int, unsigned char *);