Skip to content
Commit bd0f3aac authored by Tom Rix's avatar Tom Rix Committed by Daniel Lezcano
Browse files

clocksource/drivers/loongson1: Set variable ls1x_timer_lock storage-class-specifier to static



smatch reports
drivers/clocksource/timer-loongson1-pwm.c:31:1: warning: symbol
  'ls1x_timer_lock' was not declared. Should it be static?

This variable is only used in its defining file, so it should be static.

Signed-off-by: default avatarTom Rix <trix@redhat.com>
Acked-by: default avatarKeguang Zhang <keguang.zhang@gmail.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230702133113.3438049-1-trix@redhat.com
parent e7d65e40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment