From: Alexander Shiyan <shc_work@mail.ru>
Date: Thu, 20 Mar 2014 06:58:31 +0000 (+0400)
Subject: video: imxfb: Select LCD_CLASS_DEVICE unconditionally
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=25e475e11d8acff1b7c2febbf1d170e95033ba2e;p=linux.git

video: imxfb: Select LCD_CLASS_DEVICE unconditionally

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>
---

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 6c793bc683d98..3ad7ebe2a96db 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -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