]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: displays: panel-dpi: add backlight dependency
authorArnd Bergmann <arnd@arndb.de>
Thu, 5 Oct 2017 12:06:41 +0000 (14:06 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 30 Nov 2017 10:25:37 +0000 (12:25 +0200)
commit0ed3089aac813c4df547b66f6b62bd2311a825fb
tree0c33e8ed4de8b1788df8f0d147f1f28319bad2cd
parent31b7f20753b8503308dfb5a705e6b5150857d175
drm/omap: displays: panel-dpi: add backlight dependency

The new backlight code causes a link failure when backlight
support itself is disabled:

drivers/gpu/drm/omapdrm/displays/panel-dpi.o: In function `panel_dpi_probe_of':
panel-dpi.c:(.text+0x35c): undefined reference to `of_find_backlight_by_node'

This adds a Kconfig dependency like we have for the other OMAP
display targets.

Fixes: 7f7a786d8940 ("drm/omap: displays: panel-dpi: Support for handling backlight devices")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/displays/Kconfig