summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/pmac_pfunc.h
diff options
context:
space:
mode:
authorMathieu Malaterre <malat@debian.org>2018-04-04 22:13:55 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2018-05-25 12:04:41 +1000
commitf91d5998996819eaf194ff48e00d4956a9270abd (patch)
tree0dd96bb2d813a10e83415387cfb883d8320a0d54 /arch/powerpc/include/asm/pmac_pfunc.h
parent910be6be6c00e6d33d47985586c392155ee7aa0e (diff)
downloadlinux-f91d5998996819eaf194ff48e00d4956a9270abd.tar.bz2
powerpc/powermac: Move pmac_pfunc_base_install prototype to header file
The pmac_pfunc_base_install prototype was declared in powermac/smp.c since function was used there, move it to pmac_pfunc.h header to be visible in pfunc_base.c. Fix a warning treated as error with W=1: arch/powerpc/platforms/powermac/pfunc_base.c:330:12: error: no previous prototype for ‘pmac_pfunc_base_install’ [-Werror=missing-prototypes] Suggested-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/pmac_pfunc.h')
-rw-r--r--arch/powerpc/include/asm/pmac_pfunc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/pmac_pfunc.h b/arch/powerpc/include/asm/pmac_pfunc.h
index 73bd8f28f2a8..cee4e9f5b8cf 100644
--- a/arch/powerpc/include/asm/pmac_pfunc.h
+++ b/arch/powerpc/include/asm/pmac_pfunc.h
@@ -245,6 +245,7 @@ extern void pmf_put_function(struct pmf_function *func);
extern int pmf_call_one(struct pmf_function *func, struct pmf_args *args);
+int pmac_pfunc_base_install(void);
/* Suspend/resume code called by via-pmu directly for now */
extern void pmac_pfunc_base_suspend(void);