Skip to contentSkip to conversation

video: imxfb: Select LCD_CLASS_DEVICE unconditionally

PATCH In review Alexander Shiyan 2 participants 3 messages Mar 20, 2014 – Apr 8, 2014 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/video/fbdev/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/video/fbdev/Kconfig +2 -0
index 67409e0..b7cb0af 100644
@@ -328,6 +328,8 @@ config FB_SA1100
 config FB_IMX
 	tristate "Freescale i.MX1/21/25/27 LCD support"
 	depends on FB && IMX_HAVE_PLATFORM_IMX_FB
+	select BACKLIGHT_LCD_SUPPORT
+	select LCD_CLASS_DEVICE
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT
Signature · 1 line
1.8.3.2
#1 lore raw

Hi,

Quoted 15 lines · Alexander Shiyan

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.

---
 drivers/video/fbdev/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/video/fbdev/Kconfig +0 -0
index 67409e0..b7cb0af 100644

drivers/video/fbdev/Kconfig config FB_SA1100 · line 335

Quoted 8 lines
drivers/video/fbdev/Kconfig +2 -0
@@ -328,6 +328,8 @@ config FB_SA1100
 config FB_IMX
 	tristate "Freescale i.MX1/21/25/27 LCD support"
 	depends on FB && IMX_HAVE_PLATFORM_IMX_FB
+	select BACKLIGHT_LCD_SUPPORT
+	select LCD_CLASS_DEVICE
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT

I presume this should go in for 3.15?

Tomi

#2 lore raw
In reply to Alexander Shiyan
Quoted 30 lines · Alexander Shiyan

Tue, 8 Apr 2014 12:58:32 +0300 от Tomi Valkeinen <[email protected]>:

Quoted 13 lines

Hi,

Quoted 10 lines · Alexander Shiyan

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.

---
 drivers/video/fbdev/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
Quoted 15 lines

drivers/video/fbdev/Kconfig config FB_SA1100 · line 335

Quoted 13 lines
drivers/video/fbdev/Kconfig +2 -0
index 67409e0..b7cb0af 100644
@@ -328,6 +328,8 @@ config FB_SA1100
 config FB_IMX
 	tristate "Freescale i.MX1/21/25/27 LCD support"
 	depends on FB && IMX_HAVE_PLATFORM_IMX_FB
+	select BACKLIGHT_LCD_SUPPORT
+	select LCD_CLASS_DEVICE
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT

I presume this should go in for 3.15?

Quoted 1 line

Yes. Otherwise we may have problems with the compiling.

Ok, queuing this for 3.15 fixes.

Tomi