linux/drivers/staging
Thomas Zimmermann 8fc38062be fbdev: Fix recursive dependencies wrt BACKLIGHT_CLASS_DEVICE
Do not select BACKLIGHT_CLASS_DEVICE from FB_BACKLIGHT. The latter
only controls backlight support within fbdev core code and data
structures.

Make fbdev drivers depend on BACKLIGHT_CLASS_DEVICE and let users
select it explicitly. Fixes warnings about recursive dependencies,
such as

error: recursive dependency detected!
	symbol BACKLIGHT_CLASS_DEVICE is selected by FB_BACKLIGHT
	symbol FB_BACKLIGHT is selected by FB_SH_MOBILE_LCDC
	symbol FB_SH_MOBILE_LCDC depends on FB_DEVICE
	symbol FB_DEVICE depends on FB_CORE
	symbol FB_CORE is selected by DRM_GEM_DMA_HELPER
	symbol DRM_GEM_DMA_HELPER is selected by DRM_PANEL_ILITEK_ILI9341
	symbol DRM_PANEL_ILITEK_ILI9341 depends on BACKLIGHT_CLASS_DEVICE

BACKLIGHT_CLASS_DEVICE is user-selectable, so making drivers adapt to
it is the correct approach in any case. For most drivers, backlight
support is also configurable separately.

v3:
- Select BACKLIGHT_CLASS_DEVICE in PowerMac defconfigs (Christophe)
- Fix PMAC_BACKLIGHT module dependency corner cases (Christophe)
v2:
- s/BACKLIGHT_DEVICE_CLASS/BACKLIGHT_CLASS_DEVICE (Helge)
- Fix fbdev driver-dependency corner case (Arnd)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20241216074450.8590-2-tzimmermann@suse.de
2024-12-17 18:06:10 +01:00
..
axis-fifo staging: Switch back to struct platform_driver::remove() 2024-10-09 11:54:53 +02:00
fbtft fbdev: Fix recursive dependencies wrt BACKLIGHT_CLASS_DEVICE 2024-12-17 18:06:10 +01:00
gpib Staging: gpib: gpib_os.c - Remove unnecessary OOM message 2024-11-10 08:04:18 +01:00
greybus staging: greybus: uart: Fix atomicity violation in get_serial_info() 2024-11-10 08:02:37 +01:00
iio Char/Misc/IIO/Whatever driver subsystem updates for 6.13-rc1 2024-11-29 11:58:27 -08:00
media Staging driver changes for 6.13-rc1 2024-11-29 11:36:13 -08:00
most staging: most: Remove TODO contact information 2024-11-10 08:03:31 +01:00
nvec staging: Switch back to struct platform_driver::remove() 2024-10-09 11:54:53 +02:00
octeon staging: Switch back to struct platform_driver::remove() 2024-10-09 11:54:53 +02:00
rtl8723bs staging: rtl8723bs: Remove TODO contact information 2024-11-10 08:03:30 +01:00
sm750fb staging: sm750fb: Remove TODO contact information 2024-11-10 08:03:30 +01:00
vc04_services Staging driver changes for 6.13-rc1 2024-11-29 11:36:13 -08:00
vme_user staging: vme_user: vme_bridge.h: Name function pointer arguments 2024-11-04 00:51:10 +01:00
Kconfig staging: fieldbus: Delete unused driver 2024-11-04 00:53:07 +01:00
Makefile staging: fieldbus: Delete unused driver 2024-11-04 00:53:07 +01:00