Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e9cfddd authored by Ram Chandrasekar's avatar Ram Chandrasekar Committed by Connor O'Brien
Browse files

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: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
(cherry picked from commit 6cd31b3f)
[connoro: commit amended to include only ABI diff]
Bug: 153189857
Signed-off-by: default avatarConnor O'Brien <connoro@google.com>
parent 5dfdaa15
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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];