pwm_backlight: Add MODULE_DEPEND on backlight
Make the pwm_backlight module depend on backlight, so it has access to the backlight interface symbols. Otherwise you'll get an error like: link_elf: symbol backlight_get_info_desc undefined Signed-off-by: Brett Mastbergen <brett.mastbergen@gmail.com> MFC after: 3 days PR: 253765
This commit is contained in:
parent
f7aebfbe5c
commit
43d4dfac96
@ -308,4 +308,5 @@ devclass_t pwm_backlight_devclass;
|
||||
|
||||
DRIVER_MODULE(pwm_backlight, simplebus, pwm_backlight_driver,
|
||||
pwm_backlight_devclass, 0, 0);
|
||||
MODULE_DEPEND(pwm_backlight, backlight, 1, 1, 1);
|
||||
OFWBUS_PNP_INFO(compat_data);
|
||||
|
Loading…
Reference in New Issue
Block a user