Skip to content

Commit 545c47f

Browse files
committed
[drivers][power] fix the inline declaration of the function "power_supply_dev_name"
1 parent a226950 commit 545c47f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/drivers/power/supply/supply-daemon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ static rt_uint8_t raw_pm_sleep_mode = PM_RUN_MODE_MAX;
2222
static rt_uint8_t last_pm_sleep_mode;
2323
#endif
2424

25-
static rt_inline const char *power_supply_dev_name(struct rt_device *dev)
25+
rt_inline const char *power_supply_dev_name(struct rt_device *dev)
2626
{
2727
#ifdef RT_USING_DM
2828
return rt_dm_dev_get_name(dev);

0 commit comments

Comments
 (0)