diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-03-22 10:43:59 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-03-22 17:59:33 -0400 |
commit | 9039de4034775f4420bf01fa879f8c04b3cd6bba (patch) | |
tree | 17b247e7997ebe04185dbb30adeaed5e0bc2724a | |
parent | 008258d995a637c77c10a5d087d134eed49a6572 (diff) |
clocksource/drivers/mips-gic-timer: Make gic_compare_irqaction static
Fix sparse warning:
drivers/clocksource/mips-gic-timer.c:70:18: warning:
symbol 'gic_compare_irqaction' was not declared. Should it be static?
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: <daniel.lezcano@linaro.org>
Link: https://lkml.kernel.org/r/20190322144359.19516-1-yuehaibing@huawei.com
-rw-r--r-- | drivers/clocksource/mips-gic-timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/mips-gic-timer.c b/drivers/clocksource/mips-gic-timer.c index 54f8a331b53a..37671a5d4ed9 100644 --- a/drivers/clocksource/mips-gic-timer.c +++ b/drivers/clocksource/mips-gic-timer.c | |||
@@ -67,7 +67,7 @@ static irqreturn_t gic_compare_interrupt(int irq, void *dev_id) | |||
67 | return IRQ_HANDLED; | 67 | return IRQ_HANDLED; |
68 | } | 68 | } |
69 | 69 | ||
70 | struct irqaction gic_compare_irqaction = { | 70 | static struct irqaction gic_compare_irqaction = { |
71 | .handler = gic_compare_interrupt, | 71 | .handler = gic_compare_interrupt, |
72 | .percpu_dev_id = &gic_clockevent_device, | 72 | .percpu_dev_id = &gic_clockevent_device, |
73 | .flags = IRQF_PERCPU | IRQF_TIMER, | 73 | .flags = IRQF_PERCPU | IRQF_TIMER, |