ANDROID: GKI: drivers: video: backlight: Fix ABI diff for struct backlight_device
The following members are added to struct backlight_device:
struct thermal_cooling_device *cdev;
int thermal_brightness_limit;
int usr_brightness_req;
Change-Id: I1405ddd6c3cfff99cd84842d3773851168dcfe78
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
(cherry picked from commit 6cd31b3ff4
)
[connoro: commit amended to include only ABI diff]
Bug: 153189857
Signed-off-by: Connor O'Brien <connoro@google.com>
This commit is contained in:
parent
5dfdaa15ca
commit
7e9cfddda4
1 changed files with 7 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
|||
#include <linux/fb.h>
|
||||
#include <linux/mutex.h>
|
||||
#include <linux/notifier.h>
|
||||
#include <linux/thermal.h>
|
||||
|
||||
/* Notes on locking:
|
||||
*
|
||||
|
@ -106,6 +107,12 @@ struct backlight_device {
|
|||
struct list_head entry;
|
||||
|
||||
struct device dev;
|
||||
/* Backlight cooling device */
|
||||
struct thermal_cooling_device *cdev;
|
||||
/* Thermally limited max brightness */
|
||||
int thermal_brightness_limit;
|
||||
/* User brightness request */
|
||||
int usr_brightness_req;
|
||||
|
||||
/* Multiple framebuffers may share one backlight device */
|
||||
bool fb_bl_on[FB_MAX];
|
||||
|
|
Loading…
Reference in a new issue