linux_dsm_epyc7002/drivers/gpu/drm/panel
Arnd Bergmann a8efe51631 drm/panel: rm68200: Add backlight dependency
Like many other panel drivers, this one fails to build when backlight
support is disabled:

drivers/gpu/drm/panel/panel-raydium-rm68200.o: In function `rm68200_probe':
panel-raydium-rm68200.c:(.text+0x14a): undefined reference to `devm_of_find_backlight'

This adds the appropriate dependency.

Note that while include/linux/backlight.h provides a stub inline when
backlight support is not enabled, this isn't enough to deal with the
case where backlight support is built as a module but the panel driver
is built-in, in which case linking will still fail as above.

One way to avoid this is to add a dependency such as this:

        depends on BACKLIGHT_CLASS_DEVICE || BACKLIGHT_CLASS_DEVICE=n

but that is rather complex and misses the point that the panel support
is mostly useless without backlight support.

Fixes: 2b7ed18bed ("drm/panel: Add support for Raydium RM68200 panel driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[treding@nvidia.com: clarify the need for the dependency]
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180313210015.3344380-1-arnd@arndb.de
2018-03-14 11:51:24 +01:00
..
Kconfig drm/panel: rm68200: Add backlight dependency 2018-03-14 11:51:24 +01:00
Makefile drm/panel: Add support for Raydium RM68200 panel driver 2018-03-12 09:27:57 +01:00
panel-arm-versatile.c drm/panel: Fix ARM Versatile panel clocks 2018-02-23 00:13:47 +01:00
panel-ilitek-ili9322.c drm/panel: ili9322: Make local symbols static 2018-03-12 10:06:19 +01:00
panel-innolux-p079zca.c drm/panel: Use of_find_backlight helper 2018-02-20 11:07:22 -05:00
panel-jdi-lt070me05000.c drm/panel: Use backlight_enable/disable helpers 2018-02-20 11:07:22 -05:00
panel-lg-lg4573.c
panel-lvds.c drm/panel: lvds: Fix driver description heading 2018-03-12 09:53:18 +01:00
panel-orisetech-otm8009a.c drm/panel: otm8009a: Adopt SPDX identifiers 2018-03-12 09:54:25 +01:00
panel-panasonic-vvx10f034n00.c drm/panel: panasonic-vvx10f034n00: More return value fixes 2018-01-22 12:32:37 -05:00
panel-raspberrypi-touchscreen.c drm/panel: rpi-touchscreen: propagate errors in rpi_touchscreen_i2c_read() 2017-10-30 16:55:20 -07:00
panel-raydium-rm68200.c drm/panel: Add support for Raydium RM68200 panel driver 2018-03-12 09:27:57 +01:00
panel-samsung-ld9040.c
panel-samsung-s6e3ha2.c drm/panel: s6e3ha2: Add support for s6e3hf2 panel on TM2e board 2017-06-14 20:18:22 +02:00
panel-samsung-s6e8aa0.c
panel-samsung-s6e63j0x03.c drm/panel: Add support for S6E63J0X03 panel 2017-08-18 17:10:43 +02:00
panel-seiko-43wvf1g.c drm/panel: Add driver for Seiko 43WVF1G panel 2017-08-18 17:10:45 +02:00
panel-sharp-lq101r1sx01.c drm/panel: Use of_find_backlight helper 2018-02-20 11:07:22 -05:00
panel-sharp-ls043t1le01.c drm/panel: Use of_find_backlight helper 2018-02-20 11:07:22 -05:00
panel-simple.c drm/panel: Add support for AUO G104SN02 V2 panel 2018-03-12 10:08:16 +01:00
panel-sitronix-st7789v.c drm/panel: Add driver for sitronix ST7789V LCD controller 2017-04-06 23:50:44 +02:00