clocksource/drivers/sp804: Make some symbol static
authorKefeng Wang <wangkefeng.wang@huawei.com>
Thu, 29 Oct 2020 12:33:14 +0000 (20:33 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 3 Dec 2020 18:16:17 +0000 (19:16 +0100)
commit3c07bf0fc3558f680374f8ac6d148b0082aa08c6
treea35743bb9097bbb4ba9873fa90d3833b59e1295e
parent3c0a4b185f6c82c06025720b00a490c719a6f0ff
clocksource/drivers/sp804: Make some symbol static

drivers/clocksource/timer-sp804.c:38:31: warning: symbol 'arm_sp804_timer' was not declared. Should it be static?
drivers/clocksource/timer-sp804.c:47:31: warning: symbol 'hisi_sp804_timer' was not declared. Should it be static?
drivers/clocksource/timer-sp804.c:120:12: warning: symbol 'sp804_clocksource_and_sched_clock_init' was not declared. Should it be static?
drivers/clocksource/timer-sp804.c:219:12: warning: symbol 'sp804_clockevents_init' was not declared. Should it be static?

And move __initdata after the variables.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20201029123317.90286-2-wangkefeng.wang@huawei.com
drivers/clocksource/timer-sp804.c