aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@gmail.com>2012-08-08 11:17:26 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2012-09-11 05:38:03 -0400
commita6ccdcd98c39ac13508570dbd943a1cf1b569f55 (patch)
treecabab74ae3665d0d3e4a59a7b74d9a39d2d03854 /include/linux
parent015625a20f630c798a8c5fdf5d472be091b8ac7d (diff)
mfd: 88pm860x: Use REG resource for backlight
Now resource of 88pm860x backlight is changed from IORESOURCE_IO to IORESOURCE_REG. In original driver, the resource is using self-defined IORESOURCE_IO. So change the resource to register offset to match the definition of IORESOURCE_REG. Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mfd/88pm860x.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/mfd/88pm860x.h b/include/linux/mfd/88pm860x.h
index 7b24943779fa..b7e656d29be3 100644
--- a/include/linux/mfd/88pm860x.h
+++ b/include/linux/mfd/88pm860x.h
@@ -35,12 +35,6 @@ enum {
35}; 35};
36 36
37enum { 37enum {
38 PM8606_BACKLIGHT1 = 0,
39 PM8606_BACKLIGHT2,
40 PM8606_BACKLIGHT3,
41};
42
43enum {
44 PM8606_LED1_RED = 0, 38 PM8606_LED1_RED = 0,
45 PM8606_LED1_GREEN, 39 PM8606_LED1_GREEN,
46 PM8606_LED1_BLUE, 40 PM8606_LED1_BLUE,
@@ -340,10 +334,8 @@ enum {
340}; 334};
341 335
342struct pm860x_backlight_pdata { 336struct pm860x_backlight_pdata {
343 int id;
344 int pwm; 337 int pwm;
345 int iset; 338 int iset;
346 unsigned long flags;
347}; 339};
348 340
349struct pm860x_led_pdata { 341struct pm860x_led_pdata {