drm/panel: S6E3HA2 needs backlight code
authorArnd Bergmann <arnd@arndb.de>
Wed, 19 Apr 2017 17:59:18 +0000 (19:59 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 14 Jun 2017 18:06:27 +0000 (20:06 +0200)
commit93023c14049ef404cfa656c53dcc651bbc46dbc3
treedd60b2545d90591968eb653a0656324f448367e7
parent70c0d5b783f518889e1df43dd70260790816b1dc
drm/panel: S6E3HA2 needs backlight code

The new S6E3HA2 driver fails to link when backlight is disabled:

ERROR: "backlight_device_register" [drivers/gpu/drm/panel/panel-samsung-s6e3ha2.ko] undefined!
ERROR: "backlight_device_unregister" [drivers/gpu/drm/panel/panel-samsung-s6e3ha2.ko] undefined!

This adds a Kconfig dependency like we have it for some other panel drivers.

Fixes: ed29f9426d9b ("drm/panel: Add support for S6E3HA2 panel driver on TM2 board")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170419175939.189098-2-arnd@arndb.de
drivers/gpu/drm/panel/Kconfig