瀏覽代碼

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>
Alexander Shiyan 11 年之前
父節點
當前提交
25e475e11d
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      drivers/video/Kconfig

+ 2 - 0
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