Commit 55fa9889 authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Ralf Baechle

MIPS: loongson: lemote-2f: irq: Make internal data static

Make internal static to eliminate the following sparse warnings:
warning: symbol 'ip6_irqaction' was not declared. Should it be static?
warning: symbol 'cascade_irqaction' was not declared. Should it be static?
Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8527/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 15dd8eb0
...@@ -93,13 +93,13 @@ static irqreturn_t ip6_action(int cpl, void *dev_id) ...@@ -93,13 +93,13 @@ static irqreturn_t ip6_action(int cpl, void *dev_id)
return IRQ_HANDLED; return IRQ_HANDLED;
} }
struct irqaction ip6_irqaction = { static struct irqaction ip6_irqaction = {
.handler = ip6_action, .handler = ip6_action,
.name = "cascade", .name = "cascade",
.flags = IRQF_SHARED | IRQF_NO_THREAD, .flags = IRQF_SHARED | IRQF_NO_THREAD,
}; };
struct irqaction cascade_irqaction = { static struct irqaction cascade_irqaction = {
.handler = no_action, .handler = no_action,
.name = "cascade", .name = "cascade",
.flags = IRQF_NO_THREAD, .flags = IRQF_NO_THREAD,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment