drm/omap: displays: panel-dpi: add backlight dependency
commit4a96f3d05668cdee90779b07227054d4ec41b32d
authorArnd Bergmann <arnd@arndb.de>
Thu, 5 Oct 2017 12:06:41 +0000 (5 14:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Feb 2018 16:39:14 +0000 (3 17:39 +0100)
tree0d5a254a4177b62de53e73bf67d864b0d5326fe1
parent345dc6d499d8509ec9cc4b9b5b84a070ac87e0d5
drm/omap: displays: panel-dpi: add backlight dependency

[ Upstream commit 499ec0ed5eb2f6a7fcaab2dd66ffc5993484bda9 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/omapdrm/displays/Kconfig