From 20e0aa3b92de098fae7c4ef544b968dd14e9087e Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Fri, 9 Sep 2022 04:32:56 +0000 Subject: add backlight_device_get_by_name() used by 5.15.66 drm --- sys/dev/pci/drm/include/linux/backlight.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys/dev') 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 -- cgit v1.2.3