mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 10:32:47 +08:00
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:
committed by
Petro Karashchenko
parent
4ef7cf068b
commit
645ff50609
@@ -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 */
|
||||
};
|
||||
|
||||
|
||||
@@ -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 */
|
||||
};
|
||||
|
||||
|
||||
@@ -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 */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user