diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2023-11-29 16:19:18 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-11-30 05:25:33 +0300 |
commit | b90ad501715f2feb1b0bf97aa700adb39c78deb3 (patch) | |
tree | 57058d72657c21b52417010fa20d295a96106653 /arch/powerpc | |
parent | 10feb8f9612239b665815807e950bcd999a75dd2 (diff) | |
download | linux-b90ad501715f2feb1b0bf97aa700adb39c78deb3.tar.xz |
powerpc/44x: Make ppc44x_idle_init() static
The 44x/fsp2_defconfig build fails with:
arch/powerpc/platforms/44x/idle.c:30:12: error: no previous prototype for ‘ppc44x_idle_init’ [-Werror=missing-prototypes]
30 | int __init ppc44x_idle_init(void)
| ^~~~~~~~~~~~~~~~
Fix it by making ppc44x_idle_init() static.
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231129131919.2528517-4-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/platforms/44x/idle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/44x/idle.c b/arch/powerpc/platforms/44x/idle.c index f533b495e7db..e2eeef8dff78 100644 --- a/arch/powerpc/platforms/44x/idle.c +++ b/arch/powerpc/platforms/44x/idle.c @@ -27,7 +27,7 @@ static void ppc44x_idle(void) isync(); } -int __init ppc44x_idle_init(void) +static int __init ppc44x_idle_init(void) { if (!mode_spin) { /* If we are not setting spin mode |