From cc7f7160f5ee0bdc18f5e4d5d5252df597cedc82 Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 9 Sep 2022 04:32:55 +0000 Subject: [PATCH] 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(+) 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 -- 2.20.1