diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2021-11-24 20:32:51 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-11-29 22:49:17 +1100 |
commit | d9150d5bb5586dc20b6c424e59d5ea29fe1b3030 (patch) | |
tree | 4f3ec28eef7bd1227d9b1d9b87f69bfa2fe91407 /arch/powerpc/platforms/85xx/c293pcie.c | |
parent | 84a61fb43fdfc528a3a7ff00e0b14ba91f5eb745 (diff) | |
download | linux-d9150d5bb5586dc20b6c424e59d5ea29fe1b3030.tar.bz2 |
powerpc/85xx: Make c293_pcie_pic_init() static
To fix the W=1 warning:
linux/arch/powerpc/platforms/85xx/c293pcie.c:22:13: error: no previous prototype for ‘c293_pcie_pic_init’
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211124093254.1054750-3-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/platforms/85xx/c293pcie.c')
-rw-r--r-- | arch/powerpc/platforms/85xx/c293pcie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/85xx/c293pcie.c b/arch/powerpc/platforms/85xx/c293pcie.c index 8d9a2503dd0f..58a398c89e97 100644 --- a/arch/powerpc/platforms/85xx/c293pcie.c +++ b/arch/powerpc/platforms/85xx/c293pcie.c @@ -19,7 +19,7 @@ #include "mpc85xx.h" -void __init c293_pcie_pic_init(void) +static void __init c293_pcie_pic_init(void) { struct mpic *mpic = mpic_alloc(NULL, 0, MPIC_BIG_ENDIAN | MPIC_SINGLE_DEST_CPU, 0, 256, " OpenPIC "); |