Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/tilcd: select BACKLIGHT_LCD_SUPPORT

The dependecies for BACKLIGHT_CLASS_DEVICE are defined a bit
strange, but it seems one has to always select both BACKLIGHT_CLASS_DEVICE
and BACKLIGHT_LCD_SUPPORT to avoid this error:

drivers/gpu/drm/tilcdc/tilcdc_panel.c:396:
undefined reference to `of_find_backlight_by_node'

Cc: Rob Clark <robdclark@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Cc: Dave Airlie <airlied@redhat.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dave Airlie <airlied@gmail.com>

authored by

Arnd Bergmann and committed by
Dave Airlie
1ed7fad6 b7ea85a4

+1
+1
drivers/gpu/drm/tilcdc/Kconfig
··· 6 6 select DRM_GEM_CMA_HELPER 7 7 select VIDEOMODE_HELPERS 8 8 select BACKLIGHT_CLASS_DEVICE 9 + select BACKLIGHT_LCD_SUPPORT 9 10 help 10 11 Choose this option if you have an TI SoC with LCDC display 11 12 controller, for example AM33xx in beagle-bone, DA8xx, or