summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tinydrm/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-07-09 17:20:29 +0200
committerDavid Lechner <david@lechnology.com>2018-07-12 12:10:07 -0500
commit77c56fd3c8cf5adcba9cffcc29ead295211bdae8 (patch)
tree3e8337ef5e13b0f50e7e5ffb8ceff6b78a21f8fb /drivers/gpu/drm/tinydrm/Kconfig
parentb7178ffe7eb86fb9d428801509a5bd54d3ba94da (diff)
downloadlinux-stable-77c56fd3c8cf5adcba9cffcc29ead295211bdae8.tar.gz
linux-stable-77c56fd3c8cf5adcba9cffcc29ead295211bdae8.tar.bz2
linux-stable-77c56fd3c8cf5adcba9cffcc29ead295211bdae8.zip
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: 3fa0e8f6f960 ("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
Diffstat (limited to 'drivers/gpu/drm/tinydrm/Kconfig')
-rw-r--r--drivers/gpu/drm/tinydrm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tinydrm/Kconfig b/drivers/gpu/drm/tinydrm/Kconfig
index 7a8008b0783f..16f4b5c91f1b 100644
--- a/drivers/gpu/drm/tinydrm/Kconfig
+++ b/drivers/gpu/drm/tinydrm/Kconfig
@@ -23,6 +23,7 @@ config TINYDRM_ILI9225
config TINYDRM_ILI9341
tristate "DRM support for ILI9341 display panels"
depends on DRM_TINYDRM && SPI
+ depends on BACKLIGHT_CLASS_DEVICE
select TINYDRM_MIPI_DBI
help
DRM driver for the following Ilitek ILI9341 panels: