MIPS: OCTEON: octeon-irq: make octeon_irq_ciu3_set_affinity() static
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 21 Nov 2018 22:37:30 +0000 (00:37 +0200)
committerPaul Burton <paul.burton@mips.com>
Wed, 21 Nov 2018 23:36:42 +0000 (15:36 -0800)
Make octeon_irq_ciu3_set_affinity() static.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/21207/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
arch/mips/cavium-octeon/octeon-irq.c

index cc1d8525e651363f17655549c427757e41cd659d..f97be32bf699c206e2757f9e6001dd0749cc5a71 100644 (file)
@@ -2483,8 +2483,8 @@ void octeon_irq_ciu3_mask_ack(struct irq_data *data)
 }
 
 #ifdef CONFIG_SMP
-int octeon_irq_ciu3_set_affinity(struct irq_data *data,
-                                const struct cpumask *dest, bool force)
+static int octeon_irq_ciu3_set_affinity(struct irq_data *data,
+                                       const struct cpumask *dest, bool force)
 {
        union cvmx_ciu3_iscx_ctl isc_ctl;
        union cvmx_ciu3_iscx_w1c isc_w1c;