diff options
| author | Lars-Peter Clausen <lars@metafoo.de> | 2010-05-11 20:44:33 -0400 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-05-26 12:34:39 -0400 |
| commit | f5bf403a9dc944bf560f49dd029195e54fcbc41c (patch) | |
| tree | 6decb6bf67a18ef614788a19e5d39834ccf0b921 /include/linux | |
| parent | 2ddfd12f3584840f5190897214423061d8a0602f (diff) | |
backlight: pcf50633: Register a pcf50633-backlight device in pcf50633 core driver.
Register a device newly added pcf50633-backlight driver as a child device in
the pcf50633 core driver.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/pcf50633/core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mfd/pcf50633/core.h b/include/linux/mfd/pcf50633/core.h index 3398bd9aab11..ad411a78870c 100644 --- a/include/linux/mfd/pcf50633/core.h +++ b/include/linux/mfd/pcf50633/core.h | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | #include <linux/regulator/driver.h> | 18 | #include <linux/regulator/driver.h> |
| 19 | #include <linux/regulator/machine.h> | 19 | #include <linux/regulator/machine.h> |
| 20 | #include <linux/power_supply.h> | 20 | #include <linux/power_supply.h> |
| 21 | #include <linux/mfd/pcf50633/backlight.h> | ||
| 21 | 22 | ||
| 22 | struct pcf50633; | 23 | struct pcf50633; |
| 23 | 24 | ||
| @@ -43,6 +44,8 @@ struct pcf50633_platform_data { | |||
| 43 | void (*force_shutdown)(struct pcf50633 *); | 44 | void (*force_shutdown)(struct pcf50633 *); |
| 44 | 45 | ||
| 45 | u8 resumers[5]; | 46 | u8 resumers[5]; |
| 47 | |||
| 48 | struct pcf50633_bl_platform_data *backlight_data; | ||
| 46 | }; | 49 | }; |
| 47 | 50 | ||
| 48 | struct pcf50633_irq { | 51 | struct pcf50633_irq { |
| @@ -152,6 +155,7 @@ struct pcf50633 { | |||
| 152 | struct platform_device *mbc_pdev; | 155 | struct platform_device *mbc_pdev; |
| 153 | struct platform_device *adc_pdev; | 156 | struct platform_device *adc_pdev; |
| 154 | struct platform_device *input_pdev; | 157 | struct platform_device *input_pdev; |
| 158 | struct platform_device *bl_pdev; | ||
| 155 | struct platform_device *regulator_pdev[PCF50633_NUM_REGULATORS]; | 159 | struct platform_device *regulator_pdev[PCF50633_NUM_REGULATORS]; |
| 156 | }; | 160 | }; |
| 157 | 161 | ||
