On Wednesday, September 25, 2013 8:31 PM, Mark Brown wrote:
> 
> From: Mark Brown <[email protected]>
> 
> The DSI-CM driver uses the backlight class so needs to build depend on it.
> 
> Signed-off-by: Mark Brown <[email protected]>

Reviewed-by: Jingoo Han <[email protected]>

I checked that the following build errors are removed.
drivers/video/omap2/displays-new/panel-dsi-cm.c:1257: undefined reference to 
`backlight_device_register'
drivers/video/omap2/displays-new/panel-dsi-cm.c:1283: undefined reference to 
`backlight_device_unregister'
drivers/built-in.o: In function `dsicm_remove':
drivers/video/omap2/displays-new/panel-dsi-cm.c:1309: undefined reference to 
`backlight_device_unregister'

Thank you.

Best regards,
Jingoo Han

> ---
>  drivers/video/omap2/displays-new/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/video/omap2/displays-new/Kconfig 
> b/drivers/video/omap2/displays-new/Kconfig
> index 6c90885..10b25e7 100644
> --- a/drivers/video/omap2/displays-new/Kconfig
> +++ b/drivers/video/omap2/displays-new/Kconfig
> @@ -35,6 +35,7 @@ config DISPLAY_PANEL_DPI
> 
>  config DISPLAY_PANEL_DSI_CM
>       tristate "Generic DSI Command Mode Panel"
> +     depends on BACKLIGHT_CLASS_DEVICE
>       help
>         Driver for generic DSI command mode panels.
> 
> --
> 1.8.4.rc3

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to