Message ID | 1398274127-2106-9-git-send-email-peter.griffin@linaro.org |
---|---|
State | New |
Headers | show |
On Wednesday 23 April 2014 18:28:43 Peter Griffin wrote: > > diff --git a/drivers/video/fbdev/exynos/Kconfig b/drivers/video/fbdev/exynos/Kconfig > index fcf2d48..bf776dd 100644 > --- a/drivers/video/fbdev/exynos/Kconfig > +++ b/drivers/video/fbdev/exynos/Kconfig > @@ -21,9 +21,9 @@ config EXYNOS_MIPI_DSI > This enables support for MIPI-DSI device. > > config EXYNOS_LCD_S6E8AX0 > - bool "S6E8AX0 MIPI AMOLED LCD Driver" > + tristate "S6E8AX0 MIPI AMOLED LCD Driver" > depends on EXYNOS_MIPI_DSI && BACKLIGHT_CLASS_DEVICE > - depends on (LCD_CLASS_DEVICE = y) > + depends on LCD_CLASS_DEVICE > default n > help > If you have an S6E8AX0 MIPI AMOLED LCD Panel, say Y to enable its Looking at the patch description and the actual changes now, it becomes clear that the bug was already addressed by Sachin Kamat in 31d6af29066bf "video: exynos: Fix S6E8AX0 LCD driver build error". You can probably just drop this patch. I would still prefer my solution, but the change that he did seems good enough. Arnd
diff --git a/drivers/video/fbdev/exynos/Kconfig b/drivers/video/fbdev/exynos/Kconfig index fcf2d48..bf776dd 100644 --- a/drivers/video/fbdev/exynos/Kconfig +++ b/drivers/video/fbdev/exynos/Kconfig @@ -21,9 +21,9 @@ config EXYNOS_MIPI_DSI This enables support for MIPI-DSI device. config EXYNOS_LCD_S6E8AX0 - bool "S6E8AX0 MIPI AMOLED LCD Driver" + tristate "S6E8AX0 MIPI AMOLED LCD Driver" depends on EXYNOS_MIPI_DSI && BACKLIGHT_CLASS_DEVICE - depends on (LCD_CLASS_DEVICE = y) + depends on LCD_CLASS_DEVICE default n help If you have an S6E8AX0 MIPI AMOLED LCD Panel, say Y to enable its diff --git a/drivers/video/fbdev/exynos/exynos_mipi_dsi.c b/drivers/video/fbdev/exynos/exynos_mipi_dsi.c index cee9602..cf1390e 100644 --- a/drivers/video/fbdev/exynos/exynos_mipi_dsi.c +++ b/drivers/video/fbdev/exynos/exynos_mipi_dsi.c @@ -263,6 +263,7 @@ int exynos_mipi_dsi_register_lcd_driver(struct mipi_dsim_lcd_driver *lcd_drv) return 0; } +EXPORT_SYMBOL_GPL(exynos_mipi_dsi_register_lcd_driver); static struct mipi_dsim_ddi *exynos_mipi_dsi_bind_lcd_ddi( struct mipi_dsim_device *dsim,