mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 00:51:35 +00:00
power: supply: Allow charger manager can be built as a module
Allow charger manager can be built as a module like other charger drivers. Signed-off-by: Baolin Wang <baolin.wang7@gmail.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
1c5dfc5e3f
commit
241eaabc3c
2 changed files with 2 additions and 2 deletions
|
@ -248,7 +248,7 @@ struct charger_manager {
|
|||
u64 charging_end_time;
|
||||
};
|
||||
|
||||
#ifdef CONFIG_CHARGER_MANAGER
|
||||
#if IS_ENABLED(CONFIG_CHARGER_MANAGER)
|
||||
extern void cm_notify_event(struct power_supply *psy,
|
||||
enum cm_event_types type, char *msg);
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue