mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
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 6cd31b3ff45ab44f3624e9139a0602e3a1a6f9ea) [connoro: commit amended to include only ABI diff] Bug: 153189857 Signed-off-by: Connor O'Brien <connoro@google.com>
This commit is contained in:
committed by
Connor O'Brien
parent
5dfdaa15ca
commit
7e9cfddda4
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user