From 4f04e3ea5499c3a2479bfc1d52229dfabb233ff7 Mon Sep 17 00:00:00 2001 From: Manaf Meethalavalappu Pallikunhi Date: Wed, 5 Dec 2018 16:10:27 +0530 Subject: [PATCH] ANDROID: GKI: drivers: thermal: Resolve ABI diff for struct thermal_zone_device_ops The following members are added to struct thermal_zone_device_ops: int (*set_polling_delay)(struct thermal_zone_device *, int); int (*set_passive_delay)(struct thermal_zone_device *, int); Test: build and boot Bug: 149945768 Signed-off-by: Manaf Meethalavalappu Pallikunhi (cherry picked from commit f68eb1a39e07a296ff4424c594c0fcc9b48240bc) [hridya: commit amended to only include ABI diff] Signed-off-by: Hridya Valsaraju Change-Id: Iad25d6585a35ecb71fdef36e27b27bece93a7c11 --- include/linux/thermal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/thermal.h b/include/linux/thermal.h index 5ef02b336a86..1f37936692fa 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -123,6 +123,8 @@ struct thermal_zone_device_ops { int (*notify) (struct thermal_zone_device *, int, enum thermal_trip_type); bool (*is_wakeable)(struct thermal_zone_device *); + int (*set_polling_delay)(struct thermal_zone_device *, int); + int (*set_passive_delay)(struct thermal_zone_device *, int); }; struct thermal_cooling_device_ops {