summaryrefslogtreecommitdiff
path: root/drivers/clocksource/timer-pistachio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clocksource/timer-pistachio.c')
-rw-r--r--drivers/clocksource/timer-pistachio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clocksource/timer-pistachio.c b/drivers/clocksource/timer-pistachio.c
index 6f37181a8c63..69c069e6f0a2 100644
--- a/drivers/clocksource/timer-pistachio.c
+++ b/drivers/clocksource/timer-pistachio.c
@@ -71,7 +71,8 @@ static u64 notrace
pistachio_clocksource_read_cycles(struct clocksource *cs)
{
struct pistachio_clocksource *pcs = to_pistachio_clocksource(cs);
- u32 counter, overflow;
+ __maybe_unused u32 overflow;
+ u32 counter;
unsigned long flags;
/*