diff options
author | Hans de Goede <hdegoede@redhat.com> | 2016-01-14 03:41:47 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-01-15 16:09:07 -0500 |
commit | 382d11639f7ca6d3ddca3a231267081bd29b45bd (patch) | |
tree | 88e391cdb94ef4f09a128408b712c168cc628604 /include/acpi/video.h | |
parent | 14e9355363fc5bf98ba63875e117f29d1902d253 (diff) |
ACPI / video: Document acpi_video_handles_brightness_key_presses() a bit
Document that acpi_video_handles_brightness_key_presses()'s return value
may change over time and should not be cached.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/video.h')
-rw-r--r-- | include/acpi/video.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/acpi/video.h b/include/acpi/video.h index f11d342b4567..5ca2f2c16458 100644 --- a/include/acpi/video.h +++ b/include/acpi/video.h | |||
@@ -32,6 +32,10 @@ extern int acpi_video_get_edid(struct acpi_device *device, int type, | |||
32 | int device_id, void **edid); | 32 | int device_id, void **edid); |
33 | extern enum acpi_backlight_type acpi_video_get_backlight_type(void); | 33 | extern enum acpi_backlight_type acpi_video_get_backlight_type(void); |
34 | extern void acpi_video_set_dmi_backlight_type(enum acpi_backlight_type type); | 34 | extern void acpi_video_set_dmi_backlight_type(enum acpi_backlight_type type); |
35 | /* | ||
36 | * Note: The value returned by acpi_video_handles_brightness_key_presses() | ||
37 | * may change over time and should not be cached. | ||
38 | */ | ||
35 | extern bool acpi_video_handles_brightness_key_presses(void); | 39 | extern bool acpi_video_handles_brightness_key_presses(void); |
36 | #else | 40 | #else |
37 | static inline int acpi_video_register(void) { return 0; } | 41 | static inline int acpi_video_register(void) { return 0; } |