drm/panel: add backlight dependency for sitronix-st7789v
authorArnd Bergmann <arnd@arndb.de>
Wed, 19 Apr 2017 18:03:08 +0000 (20:03 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 14 Jun 2017 18:06:53 +0000 (20:06 +0200)
commit2a498168218605f00866db8dd4fbbbbdaf9816f5
tree032d036f0d98eb0e11d334dad6bba9d92a6ddedf
parent93023c14049ef404cfa656c53dcc651bbc46dbc3
drm/panel: add backlight dependency for sitronix-st7789v

Without the dependency, we run into a link error:

drivers/gpu/drm/panel/panel-sitronix-st7789v.o: In function `st7789v_probe':
panel-sitronix-st7789v.c:(.text.st7789v_probe+0xc0): undefined reference to `of_find_backlight_by_node'

Fixes: 7142afb3a186 ("drm/panel: Add driver for sitronix ST7789V LCD controller")
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/20170419180326.303994-1-arnd@arndb.de
drivers/gpu/drm/panel/Kconfig