aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2014-04-24 08:28:25 -0400
committerLee Jones <lee.jones@linaro.org>2014-04-28 06:22:01 -0400
commit513199368aa16758088385e17284a6dacad3f869 (patch)
treee4afdfafc1bcfb6d0e046071eec6a26b648730ed /drivers
parent91a57dc1345c524f349aa6a0ec24b1b2ba9b0904 (diff)
video/backlight: LP8788 needs PWM
The LP8788 driver cannot be successfully built if we don't enable the PWM subsystem. This patch makes that dependency explicit in Kconfig and prevents broken randconfig builds. Based on Arnd Bergmann patch but split out into seperate commits per driver based on feedback. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Acked-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Bryan Wu <cooloney@gmail.com> Acked-by: Milo Kim <milo.kim@ti.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/backlight/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig
index 3e393026dc81..5d449059a556 100644
--- a/drivers/video/backlight/Kconfig
+++ b/drivers/video/backlight/Kconfig
@@ -393,7 +393,7 @@ config BACKLIGHT_LP855X
393 393
394config BACKLIGHT_LP8788 394config BACKLIGHT_LP8788
395 tristate "Backlight driver for TI LP8788 MFD" 395 tristate "Backlight driver for TI LP8788 MFD"
396 depends on BACKLIGHT_CLASS_DEVICE && MFD_LP8788 396 depends on BACKLIGHT_CLASS_DEVICE && MFD_LP8788 && PWM
397 help 397 help
398 This supports TI LP8788 backlight driver. 398 This supports TI LP8788 backlight driver.
399 399