-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Description
Describe the bug
When CONFIG_BACKLIGHT_CLASS_DEVICE is not y; backlight_set_display_name
will not be defined (
linux/include/linux/backlight.h
Lines 486 to 488 in a2fb37f
#if IS_ENABLED(CONFIG_BACKLIGHT_CLASS_DEVICE) | |
struct backlight_device *devm_of_find_backlight(struct device *dev); | |
int backlight_set_display_name(struct backlight_device *bd, const char *name); |
drivers/gpu/drm/bridge/panel.o
will crash with an backlight_set_display_name undefined
This issue was added by commit 573f8fd
Tested on the 6.6.x branch.
Steps to reproduce the behaviour
Generate a kernel config with CONFIG_BACKLIGHT_CLASS_DEVICE not set.- Generate a kernel config with
CONFIG_BACKLIGHT_CLASS_DEVICE=m
- Try to compile the kernel.
Device (s)
Raspberry Pi 4 Mod. B, Raspberry Pi 5, Other
System
Cross compiling kernel by Buildroot.
Logs
https://gist.github.com/jlsalvador/37316ff616a0428adbac7cc2cecdddab
Additional context
No response
peat-psuwit
Metadata
Metadata
Assignees
Labels
No labels