diff options
author | Qiheng Lin <linqiheng@huawei.com> | 2021-04-10 12:12:46 +0800 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2021-04-12 21:19:42 +0200 |
commit | 5ea2edd67a0467920e01c4909194e720d437fa26 (patch) | |
tree | 03f9c52dcc291b1050de8da71f156d18d844cb6d /drivers/power/supply/surface_charger.c | |
parent | e318c3c2ae7d64ae47467044523bd3e2da5c5ce6 (diff) | |
download | linux-5ea2edd67a0467920e01c4909194e720d437fa26.tar.bz2 |
power: supply: surface-battery: Make some symbols static
The sparse tool complains as follows:
drivers/power/supply/surface_battery.c:700:1: warning:
symbol 'dev_attr_alarm' was not declared. Should it be static?
drivers/power/supply/surface_battery.c:805:1: warning:
symbol 'surface_battery_pm_ops' was not declared. Should it be static?
This symbol is not used outside of surface_battery.c, so this
commit marks it static.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Qiheng Lin <linqiheng@huawei.com>
Acked-by: Maximilian Luz <luzmaximilian@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/surface_charger.c')
0 files changed, 0 insertions, 0 deletions