Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/85xx: Make some pic_init functions static

These functions can all be static, make them so, which also fixes no
previous prototype warnings.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240229114216.744502-1-mpe@ellerman.id.au

+3 -3
+1 -1
arch/powerpc/platforms/85xx/bsc913x_qds.c
··· 19 19 #include "mpc85xx.h" 20 20 #include "smp.h" 21 21 22 - void __init bsc913x_qds_pic_init(void) 22 + static void __init bsc913x_qds_pic_init(void) 23 23 { 24 24 struct mpic *mpic = mpic_alloc(NULL, 0, MPIC_BIG_ENDIAN | 25 25 MPIC_SINGLE_DEST_CPU,
+1 -1
arch/powerpc/platforms/85xx/bsc913x_rdb.c
··· 15 15 16 16 #include "mpc85xx.h" 17 17 18 - void __init bsc913x_rdb_pic_init(void) 18 + static void __init bsc913x_rdb_pic_init(void) 19 19 { 20 20 struct mpic *mpic = mpic_alloc(NULL, 0, MPIC_BIG_ENDIAN | 21 21 MPIC_SINGLE_DEST_CPU,
+1 -1
arch/powerpc/platforms/85xx/ge_imp3a.c
··· 38 38 39 39 void __iomem *imp3a_regs; 40 40 41 - void __init ge_imp3a_pic_init(void) 41 + static void __init ge_imp3a_pic_init(void) 42 42 { 43 43 struct mpic *mpic; 44 44 struct device_node *np;