powerpc/fsl_uli1575: Misc cleanup
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sun, 9 Apr 2023 00:08:05 +0000 (02:08 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Apr 2023 00:20:49 +0000 (10:20 +1000)
commit821b3a471f686910b97228010861c4a99d07fd86
treeacbafe9d565c3370ae5e87e3c9d450f255938729
parent648a1783fe2551f5a091c9a5f8f463cb2cbf8745
powerpc/fsl_uli1575: Misc cleanup

Use a single line for uli_exclude_device().

Add uli_exclude_device() prototype in ppc-pci.h and guard it.

Remove that prototype from mpc85xx_ds.c and mpc86xx_hpcn.c files.

Make uli_pirq_to_irq[] static as it is used only in that file.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230409000812.18904-2-pali@kernel.org
arch/powerpc/include/asm/ppc-pci.h
arch/powerpc/platforms/85xx/mpc85xx_ds.c
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
arch/powerpc/platforms/fsl_uli1575.c