clocksource/drivers/arm_global_timer: Make symbol 'gt_clk_rate_change_nb' static
authorZou Wei <zou_wei@huawei.com>
Sat, 12 Jun 2021 09:27:26 +0000 (17:27 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 16 Jun 2021 15:33:04 +0000 (17:33 +0200)
commitbe534f8ee137b95046d7c53c8200ffdcf05781a7
treee6c77c802cc6f8855d3309cb6921144a0a283589
parent68e2215e9d5f5ec8e5ba0158683742932519cad9
clocksource/drivers/arm_global_timer: Make symbol 'gt_clk_rate_change_nb' static

The sparse tool complains as follows:

drivers/clocksource/arm_global_timer.c:54:23: warning:
 symbol 'gt_clk_rate_change_nb' was not declared. Should it be static?

This symbol is not used outside of arm_global_timer.c, so mark it static.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/1623490046-37972-1-git-send-email-zou_wei@huawei.com
drivers/clocksource/arm_global_timer.c