mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
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
This commit is contained in:
parent
10feb8f961
commit
b90ad50171
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue