Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 499ec0ed authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Tomi Valkeinen
Browse files

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: 39135a30 ("drm/omap: displays: panel-dpi: Support for handling backlight devices")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 8677b1ac
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -35,6 +35,7 @@ config DRM_OMAP_CONNECTOR_ANALOG_TV


config DRM_OMAP_PANEL_DPI
config DRM_OMAP_PANEL_DPI
	tristate "Generic DPI panel"
	tristate "Generic DPI panel"
	depends on BACKLIGHT_CLASS_DEVICE
	help
	help
	  Driver for generic DPI panels.
	  Driver for generic DPI panels.