diff options
| author | Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> | 2026-02-16 12:03:07 +0100 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2026-03-24 18:30:29 +0100 |
| commit | 045a9dac7eb74ce07160d7715b6629c83f3d92c0 (patch) | |
| tree | aa47d15f61e5a4d89a16ec9f143f07f76b17c1c8 /drivers/clocksource | |
| parent | b385caf918685870cb92d07ca6078d7ed01d45c1 (diff) | |
| download | linux-next-045a9dac7eb74ce07160d7715b6629c83f3d92c0.tar.gz linux-next-045a9dac7eb74ce07160d7715b6629c83f3d92c0.zip | |
clocksource/drivers/timer-rtl-otto: Make rttm_cs variable static
File-scope 'rttm_cs' is not used outside of this unit, so make it static
to silence sparse warning:
timer-rtl-otto.c:228:16: warning: symbol 'rttm_cs' was not declared. Should it be static?
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Link: https://patch.msgid.link/20260216110306.159822-2-krzysztof.kozlowski@oss.qualcomm.com
Diffstat (limited to 'drivers/clocksource')
| -rw-r--r-- | drivers/clocksource/timer-rtl-otto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/timer-rtl-otto.c b/drivers/clocksource/timer-rtl-otto.c index 6113d2fdd4de..dd236a7babee 100644 --- a/drivers/clocksource/timer-rtl-otto.c +++ b/drivers/clocksource/timer-rtl-otto.c @@ -225,7 +225,7 @@ static int rttm_enable_clocksource(struct clocksource *cs) return 0; } -struct rttm_cs rttm_cs = { +static struct rttm_cs rttm_cs = { .to = { .flags = TIMER_OF_BASE | TIMER_OF_CLOCK, }, |
