diff options
author | Qiheng Lin <[email protected]> | 2021-04-10 12:12:46 +0800 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2021-04-12 21:19:42 +0200 |
commit | 5ea2edd67a0467920e01c4909194e720d437fa26 (patch) | |
tree | 03f9c52dcc291b1050de8da71f156d18d844cb6d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
parent | e318c3c2ae7d64ae47467044523bd3e2da5c5ce6 (diff) |
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 <[email protected]>
Signed-off-by: Qiheng Lin <[email protected]>
Acked-by: Maximilian Luz <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions