drm/tinydrm: add backlight dependency for ili9341
This tinydrm driver fails to link without the backlight support:
drivers/gpu/drm/tinydrm/ili9341.o: In function `ili9341_probe':
ili9341.c:(.text+0x578): undefined reference to `devm_of_find_backlight'
Fixes: 3fa0e8f6f9
("drm/tinydrm: new driver for ILI9341 display panels")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: David Lechner <david@lechnology.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180709152106.990066-1-arnd@arndb.de
This commit is contained in:
parent
b7178ffe7e
commit
77c56fd3c8
|
@ -23,6 +23,7 @@ config TINYDRM_ILI9225
|
||||||
config TINYDRM_ILI9341
|
config TINYDRM_ILI9341
|
||||||
tristate "DRM support for ILI9341 display panels"
|
tristate "DRM support for ILI9341 display panels"
|
||||||
depends on DRM_TINYDRM && SPI
|
depends on DRM_TINYDRM && SPI
|
||||||
|
depends on BACKLIGHT_CLASS_DEVICE
|
||||||
select TINYDRM_MIPI_DBI
|
select TINYDRM_MIPI_DBI
|
||||||
help
|
help
|
||||||
DRM driver for the following Ilitek ILI9341 panels:
|
DRM driver for the following Ilitek ILI9341 panels:
|
||||||
|
|
Loading…
Reference in New Issue