video: imxfb: Select LCD_CLASS_DEVICE unconditionally
authorAlexander Shiyan <shc_work@mail.ru>
Thu, 20 Mar 2014 06:58:31 +0000 (10:58 +0400)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 14 Apr 2014 11:52:08 +0000 (14:52 +0300)
FB driver uses lowlevel controls for LCD powering and contrast changing.
Since LCD class cannot be used as an optional feature and should be
compiled for using in the driver, this patch selects LCD_CLASS_DEVICE
symbol for the driver.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/Kconfig

index 6c793bc683d98c86f060c079579f365c2cdb1222..3ad7ebe2a96dbc5b27b7c9c940de4feeeafef214 100644 (file)
@@ -359,6 +359,8 @@ config FB_SA1100
 config FB_IMX
        tristate "Freescale i.MX1/21/25/27 LCD support"
        depends on FB && ARCH_MXC
+       select BACKLIGHT_LCD_SUPPORT
+       select LCD_CLASS_DEVICE
        select FB_CFB_FILLRECT
        select FB_CFB_COPYAREA
        select FB_CFB_IMAGEBLIT