diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-09-09 04:32:56 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-09-09 04:32:56 +0000 |
commit | 20e0aa3b92de098fae7c4ef544b968dd14e9087e (patch) | |
tree | eebf46cfa47013bd0a655b31e776261dc0765541 /sys/dev | |
parent | e9ebe956e22e221bf1d3f1e0148f4b627d398f3b (diff) |
add backlight_device_get_by_name() used by 5.15.66 drm
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/drm/include/linux/backlight.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/include/linux/backlight.h b/sys/dev/pci/drm/include/linux/backlight.h index 0f0b0ec9884..c745216cb42 100644 --- a/sys/dev/pci/drm/include/linux/backlight.h +++ b/sys/dev/pci/drm/include/linux/backlight.h @@ -81,4 +81,10 @@ devm_of_find_backlight(struct device *dev) return NULL; } +static inline struct backlight_device * +backlight_device_get_by_name(const char *name) +{ + return NULL; +} + #endif |