]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit499ec0ed5eb2f6a7fcaab2dd66ffc5993484bda9
tree0c33e8ed4de8b1788df8f0d147f1f28319bad2cd
parent8677b1ac2db021ab30bb1fa34f1e56ebe0051ec3
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: 39135a305a0f ("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