diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-10-06 01:01:29 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-10-06 01:01:29 +0000 |
commit | f8ca2cbba6a7b376c213071b506e44f692cefbdc (patch) | |
tree | 5612ee2590fd44f8cf28f4fb8c761c0bd7f9dea2 | |
parent | 395f0b17307abad801ad4d2110e45d66a9675206 (diff) |
add BL_CORE_SUSPENDRESUME define
needed for next round of 4.19 patches
-rw-r--r-- | sys/dev/pci/drm/include/linux/backlight.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/include/linux/backlight.h b/sys/dev/pci/drm/include/linux/backlight.h index cbf056d6977..fa559dbe047 100644 --- a/sys/dev/pci/drm/include/linux/backlight.h +++ b/sys/dev/pci/drm/include/linux/backlight.h @@ -15,10 +15,13 @@ struct backlight_properties { }; struct backlight_ops { + int options; int (*update_status)(struct backlight_device *); int (*get_brightness)(struct backlight_device *); }; +#define BL_CORE_SUSPENDRESUME 1 + struct backlight_device { const struct backlight_ops *ops; struct backlight_properties props; |