diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2023-11-29 14:19:16 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-11-30 03:24:55 +0100 |
commit | 24afc61990de29dd47be7642c196a173f6cc21fc (patch) | |
tree | 7f6b38276705294d06ec236be707a4af480dad7e /arch/powerpc/platforms | |
parent | powerpc/suspend: Add prototype for do_after_copyback() (diff) | |
download | linux-24afc61990de29dd47be7642c196a173f6cc21fc.tar.xz linux-24afc61990de29dd47be7642c196a173f6cc21fc.zip |
powerpc/512x: Make pdm360ng_init() static
The mpc512x_defconfig config fails with:
arch/powerpc/platforms/512x/pdm360ng.c:104:13: error: no previous prototype for ‘pdm360ng_init’ [-Werror=missing-prototypes]
104 | void __init pdm360ng_init(void)
| ^~~~~~~~~~~~~
Fix it by making pdm360ng_init() static.
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231129131919.2528517-2-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/512x/pdm360ng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/512x/pdm360ng.c b/arch/powerpc/platforms/512x/pdm360ng.c index ce51cfeeb066..8bbbf78bb42b 100644 --- a/arch/powerpc/platforms/512x/pdm360ng.c +++ b/arch/powerpc/platforms/512x/pdm360ng.c @@ -101,7 +101,7 @@ static inline void __init pdm360ng_touchscreen_init(void) } #endif /* CONFIG_TOUCHSCREEN_ADS7846 */ -void __init pdm360ng_init(void) +static void __init pdm360ng_init(void) { mpc512x_init(); pdm360ng_touchscreen_init(); |