video: exynos: Fix S6E8AX0 LCD driver build error
Tomi Valkeinen
AppliedQuoted 17 lines · Sachin Kamat
Enable S6E8AX0 LCD driver only if
LCD_CLASS_DEVICEis a built-in driver. Else we get the following errors due to missing symbols:drivers/built-in.o: In function `s6e8ax0_probe':
:(.text+0x51aec): undefined reference tolcd_device_register' :(.text+0x51c44): undefined reference tolcd_device_unregister'Signed-off-by Sachin Kamat <[email protected]>--- drivers/video/exynos/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/video/exynos/Kconfig +0
-0
drivers/video/exynos/Kconfig config EXYNOS_MIPI_DSI · line 29
Quoted 9 lines
drivers/video/exynos/Kconfig +2
-1@@ -22,7 +22,8 @@ config EXYNOS_MIPI_DSI config EXYNOS_LCD_S6E8AX0 bool "S6E8AX0 MIPI AMOLED LCD Driver" - depends on (EXYNOS_MIPI_DSI && BACKLIGHT_CLASS_DEVICE && LCD_CLASS_DEVICE) + depends on EXYNOS_MIPI_DSI && BACKLIGHT_CLASS_DEVICE + depends on (LCD_CLASS_DEVICE = y) default n help If you have an S6E8AX0 MIPI AMOLED LCD Panel, say Y to enable its
Applied to 3.14-fixes.
Tomi