summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-03-20 10:58:31 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-04-14 14:52:08 +0300
commit25e475e11d8acff1b7c2febbf1d170e95033ba2e (patch)
treee141b2070451d76673bcad8e3871271f797a1f61
parentd0e224f9963b79610850b2a10622182176658022 (diff)
downloadlinux-stable-25e475e11d8acff1b7c2febbf1d170e95033ba2e.tar.gz
linux-stable-25e475e11d8acff1b7c2febbf1d170e95033ba2e.tar.bz2
linux-stable-25e475e11d8acff1b7c2febbf1d170e95033ba2e.zip
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>
-rw-r--r--drivers/video/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 6c793bc683d9..3ad7ebe2a96d 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