MIPS: loongson: lemote-2f: irq: Make internal data static
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 19 Nov 2014 21:52:48 +0000 (23:52 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:34 +0000 (07:45 +0100)
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: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8527/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/loongson/lemote-2f/irq.c

index 6f8682e44483dcfbcb51c1202096112922e05d35..cab5f43e0e29ca7b97bdda99b7b911b24317d362 100644 (file)
@@ -93,13 +93,13 @@ static irqreturn_t ip6_action(int cpl, void *dev_id)
        return IRQ_HANDLED;
 }
 
-struct irqaction ip6_irqaction = {
+static struct irqaction ip6_irqaction = {
        .handler = ip6_action,
        .name = "cascade",
        .flags = IRQF_SHARED | IRQF_NO_THREAD,
 };
 
-struct irqaction cascade_irqaction = {
+static struct irqaction cascade_irqaction = {
        .handler = no_action,
        .name = "cascade",
        .flags = IRQF_NO_THREAD,