video/pxa: LCD_CORGI needs BACKLIGHT_CLASS_DEVICE
authorArnd Bergmann <arnd@arndb.de>
Thu, 24 Apr 2014 12:28:26 +0000 (13:28 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 28 Apr 2014 10:21:03 +0000 (11:21 +0100)
This fixes a randconfig build error when BACKLIGHT_CLASS_DEVICE
is disabled, by describing the dependency in Kconfig,
as we do for the other drivers in this directory.

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>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/video/backlight/Kconfig

index 4791af7b80368ae2d7db6a51b72ba2286bacb18d..88f95581f1adb1a35b9256a99278231d8c18390c 100644 (file)
@@ -29,7 +29,7 @@ if LCD_CLASS_DEVICE
 
 config LCD_CORGI
        tristate "LCD Panel support for SHARP corgi/spitz model"
-       depends on SPI_MASTER && PXA_SHARPSL
+       depends on SPI_MASTER && PXA_SHARPSL && BACKLIGHT_CLASS_DEVICE
        help
          Say y here to support the LCD panels usually found on SHARP
          corgi (C7x0) and spitz (Cxx00) models.