From: jsg Date: Fri, 9 Sep 2022 04:32:55 +0000 (+0000) Subject: add backlight_device_get_by_name() used by 5.15.66 drm X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=cc7f7160f5ee0bdc18f5e4d5d5252df597cedc82;p=openbsd add backlight_device_get_by_name() used by 5.15.66 drm --- 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