diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2020-10-21 04:22:59 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-12-03 21:16:09 +0300 |
commit | 3c0a4b185f6c82c06025720b00a490c719a6f0ff (patch) | |
tree | 400ac5a32d086e22dd4c3593f988982baeace1af /drivers/gpio/gpio-ucb1400.c | |
parent | b996544916429946bf4934c1c01a306d1690972c (diff) | |
download | linux-3c0a4b185f6c82c06025720b00a490c719a6f0ff.tar.xz |
clocksource/drivers/sp804: Add static for functions such as sp804_clockevents_init()
Add static for sp804_clocksource_and_sched_clock_init() and
sp804_clockevents_init(), they are only used in timer-sp804.c now.
Otherwise, the following warning will be reported:
drivers/clocksource/timer-sp804.c:68:12: warning: no previous prototype \
for 'sp804_clocksource_and_sched_clock_init' [-Wmissing-prototypes]
drivers/clocksource/timer-sp804.c:162:12: warning: no previous prototype \
for 'sp804_clockevents_init' [-Wmissing-prototypes]
Fixes: 975434f8b24a ("clocksource/drivers/sp804: Delete the leading "__" of some functions")
Fixes: 65f4d7ddc7b6 ("clocksource/drivers/sp804: Remove unused sp804_timer_disable() and timer-sp804.h")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20201021012259.2067-2-thunder.leizhen@huawei.com
Diffstat (limited to 'drivers/gpio/gpio-ucb1400.c')
0 files changed, 0 insertions, 0 deletions