From 7e9cfddda463ca301b5546efeebc3127d98c6ee0 Mon Sep 17 00:00:00 2001 From: Ram Chandrasekar Date: Tue, 14 Mar 2017 14:04:27 -0600 Subject: [PATCH] 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 (cherry picked from commit 6cd31b3ff45ab44f3624e9139a0602e3a1a6f9ea) [connoro: commit amended to include only ABI diff] Bug: 153189857 Signed-off-by: Connor O'Brien --- include/linux/backlight.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/linux/backlight.h b/include/linux/backlight.h index 0b5897446dca..a5a50e784548 100644 --- a/include/linux/backlight.h +++ b/include/linux/backlight.h @@ -13,6 +13,7 @@ #include #include #include +#include /* 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];