Sync wakeup_source functions for google-modules/bms porting
Sync below commits from android-msm-pixel-4.19 branch
b13a51034f9ced4dfed95facbb8d68aef342de2b
5f20aa11731f448d838c08ebae8e675c6c67224f
Bug: 160835098
Change-Id: I5d177ab710f280f5ac078fa5ad72689123350f75
Signed-off-by: Ken Tsou <[email protected]>
diff --git a/google_dc_pps.h b/google_dc_pps.h
index dd8ef45..01c5442 100644
--- a/google_dc_pps.h
+++ b/google_dc_pps.h
@@ -45,7 +45,7 @@
};
struct pd_pps_data {
- struct wakeup_source pps_ws;
+ struct wakeup_source *pps_ws;
bool stay_awake;
int nr_src_cap;
@@ -128,4 +128,4 @@
int chg_update_capability(struct power_supply *tcpm_psy, unsigned int nr_pdo,
u32 pps_cap);
-#endif /* __GOOGLE_DC_PPS_H_ */
\ No newline at end of file
+#endif /* __GOOGLE_DC_PPS_H_ */