diff options
| author | Yu Kuai <yukuai3@huawei.com> | 2021-04-07 20:58:03 +0800 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-04-14 23:04:13 +1000 |
| commit | 95d143923379ffb0e706b064305681d44c05ec4b (patch) | |
| tree | 81e7dfcbfa696f03db1b33722699a2b270483aac /tools/perf/scripts/python | |
| parent | windfarm: make symbol 'wf_thread' static (diff) | |
| download | linux-95d143923379ffb0e706b064305681d44c05ec4b.tar.gz linux-95d143923379ffb0e706b064305681d44c05ec4b.zip | |
macintosh/via-pmu: Make some symbols static
The sparse tool complains as follows:
drivers/macintosh/via-pmu.c:183:5: warning:
symbol 'pmu_cur_battery' was not declared. Should it be static?
drivers/macintosh/via-pmu.c:190:5: warning:
symbol '__fake_sleep' was not declared. Should it be static?
These symbols are not used outside of via-pmu.c, so this
commit marks them static.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210407125803.4138837-1-yukuai3@huawei.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
