power:record features by add mask to drivers

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
anjiahao
2022-04-26 20:04:23 +08:00
committed by Petro Karashchenko
parent 4ef7cf068b
commit 645ff50609
6 changed files with 12 additions and 0 deletions
+2
View File
@@ -144,6 +144,8 @@ struct battery_charger_dev_s
struct list_node flist;
uint32_t mask; /* record drive support features */
/* Data fields specific to the lower-half driver may follow */
};
+2
View File
@@ -131,6 +131,8 @@ struct battery_gauge_dev_s
struct list_node flist;
uint32_t mask; /* record drive support features */
/* Data fields specific to the lower-half driver may follow */
};
+2
View File
@@ -305,6 +305,8 @@ struct battery_monitor_dev_s
struct list_node flist;
uint32_t mask; /* record drive support features */
/* Data fields specific to the lower-half driver may follow */
};