add backlight_device_get_by_name() used by 5.15.66 drm
authorjsg <jsg@openbsd.org>
Fri, 9 Sep 2022 04:32:55 +0000 (04:32 +0000)
committerjsg <jsg@openbsd.org>
Fri, 9 Sep 2022 04:32:55 +0000 (04:32 +0000)
sys/dev/pci/drm/include/linux/backlight.h

index 0f0b0ec..c745216 100644 (file)
@@ -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