linux-stable/drivers/gpu/drm/tinydrm
Arnd Bergmann 7628166d5e tinydrm: add backlight dependency
Calling devm_of_find_backlight directly means we get a link failure
without CONFIG_BACKLIGHT_CLASS_DEVICE:

drivers/gpu/drm/tinydrm/mi0283qt.o: In function `mi0283qt_probe':
mi0283qt.c:(.text+0x684): undefined reference to `devm_of_find_backlight'

This adds an explicit Kconfig dependency for it. While I did not
observe that failure for st7735r, I assume the same change is needed
there for the same reason.

Fixes: d1a2e7004b ("drm/tinydrm: Replace tinydrm_of_find_backlight with of_find_backlight")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180228134111.2042877-1-arnd@arndb.de
2018-02-28 15:08:56 -05:00
..
core drm/tinydrm: Replace tinydrm_of_find_backlight with of_find_backlight 2018-02-20 11:07:22 -05:00
Kconfig tinydrm: add backlight dependency 2018-02-28 15:08:56 -05:00
Makefile drm/tinydrm: add driver for ST7735R panels 2018-01-03 13:54:24 +01:00
ili9225.c drm/tinydrm/mipi-dbi: Add mipi_dbi_enable_flush() 2018-01-15 15:10:28 +01:00
mi0283qt.c drm/tinydrm: Call devres version of of_find_backlight 2018-02-20 11:07:22 -05:00
mipi-dbi.c drm/tinydrm: Convert tinydrm_enable/disable_backlight to backlight_enable/disable 2018-02-20 11:07:22 -05:00
repaper.c drm/tinydrm: Replace dev_error with DRM_DEV_ERROR 2017-10-13 17:34:42 +02:00
st7586.c drm/tinydrm/mipi-dbi: Add poweron-reset functions 2018-01-15 15:13:47 +01:00
st7735r.c drm/tinydrm: Call devres version of of_find_backlight 2018-02-20 11:07:22 -05:00