diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-02-28 14:40:48 +0100 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2018-02-28 21:08:56 +0100 |
commit | 7628166d5e2883e4cdd142b99863d29d411a81b2 (patch) | |
tree | 20210b63ea36d907f48a9d9d369f25bccd63c945 /drivers/gpu/drm/rockchip | |
parent | drm/uapi: The ctm matrix uses sign-magnitude representation (diff) | |
download | linux-7628166d5e2883e4cdd142b99863d29d411a81b2.tar.xz linux-7628166d5e2883e4cdd142b99863d29d411a81b2.zip |
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: d1a2e7004b5e ("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
Diffstat (limited to 'drivers/gpu/drm/rockchip')
0 files changed, 0 insertions, 0 deletions