summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/timer-loongson1-pwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clocksource/timer-loongson1-pwm.c')
-rw-r--r--drivers/clocksource/timer-loongson1-pwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/timer-loongson1-pwm.c b/drivers/clocksource/timer-loongson1-pwm.c
index 6335fee03017..244d66835508 100644
--- a/drivers/clocksource/timer-loongson1-pwm.c
+++ b/drivers/clocksource/timer-loongson1-pwm.c
@@ -28,7 +28,7 @@
#define CNTR_WIDTH 24
-DEFINE_RAW_SPINLOCK(ls1x_timer_lock);
+static DEFINE_RAW_SPINLOCK(ls1x_timer_lock);
struct ls1x_clocksource {
void __iomem *reg_base;