powerpc/xive: Make debug routines static
authorCédric Le Goater <clg@kaod.org>
Mon, 14 Sep 2020 21:10:04 +0000 (23:10 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 18 Sep 2020 10:05:25 +0000 (20:05 +1000)
commit2228f19cf90ef796c8d84f54f3a5db2dcc85c83f
treecf02b9f63ae3cd584e85b3455e34f8aeeb5a6b9d
parent5ab187e01a5310e1f9cd2f6b192b2343b8bd14cb
powerpc/xive: Make debug routines static

This fixes a compile error with W=1.

CC      arch/powerpc/sysdev/xive/common.o
../arch/powerpc/sysdev/xive/common.c:1568:6: error: no previous prototype for ‘xive_debug_show_cpu’ [-Werror=missing-prototypes]
 void xive_debug_show_cpu(struct seq_file *m, int cpu)
      ^~~~~~~~~~~~~~~~~~~
../arch/powerpc/sysdev/xive/common.c:1602:6: error: no previous prototype for ‘xive_debug_show_irq’ [-Werror=missing-prototypes]
 void xive_debug_show_irq(struct seq_file *m, u32 hw_irq, struct irq_data *d)
      ^~~~~~~~~~~~~~~~~~~

Fixes: 930914b7d528 ("powerpc/xive: Add a debugfs file to dump internal XIVE state")
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200914211007.2285999-5-clg@kaod.org
arch/powerpc/sysdev/xive/common.c