diff options
Diffstat (limited to 'include/linux/backlight.h')
| -rw-r--r-- | include/linux/backlight.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/backlight.h b/include/linux/backlight.h index 5f9cd963213d..72647429adf6 100644 --- a/include/linux/backlight.h +++ b/include/linux/backlight.h | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | #define _LINUX_BACKLIGHT_H | 9 | #define _LINUX_BACKLIGHT_H |
| 10 | 10 | ||
| 11 | #include <linux/device.h> | 11 | #include <linux/device.h> |
| 12 | #include <linux/fb.h> | ||
| 12 | #include <linux/mutex.h> | 13 | #include <linux/mutex.h> |
| 13 | #include <linux/notifier.h> | 14 | #include <linux/notifier.h> |
| 14 | 15 | ||
| @@ -104,6 +105,11 @@ struct backlight_device { | |||
| 104 | struct list_head entry; | 105 | struct list_head entry; |
| 105 | 106 | ||
| 106 | struct device dev; | 107 | struct device dev; |
| 108 | |||
| 109 | /* Multiple framebuffers may share one backlight device */ | ||
| 110 | bool fb_bl_on[FB_MAX]; | ||
| 111 | |||
| 112 | int use_count; | ||
| 107 | }; | 113 | }; |
| 108 | 114 | ||
| 109 | static inline void backlight_update_status(struct backlight_device *bd) | 115 | static inline void backlight_update_status(struct backlight_device *bd) |
