diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2023-11-29 16:19:15 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-11-30 05:15:49 +0300 |
commit | 360f051d82ee0cc580edfffe9e8c0b93011ab86d (patch) | |
tree | 9d4f798b96f4407540857bc5a2b2e4ab7f36e031 /arch/powerpc/platforms | |
parent | 9be4feb768b86c25da336a6c0f3e3caefd16f1e4 (diff) | |
download | linux-360f051d82ee0cc580edfffe9e8c0b93011ab86d.tar.xz |
powerpc/suspend: Add prototype for do_after_copyback()
With HIBERNATION=y the build breaks with:
arch/powerpc/kernel/swsusp_64.c:14:6: error: no previous prototype for ‘do_after_copyback’ [-Werror=missing-prototypes]
14 | void do_after_copyback(void)
| ^~~~~~~~~~~~~~~~~
do_after_copyback() is only called from asm, so there is no prototype,
nor any header where it makes sense to place one. Just add a prototype
in the C file to fix the build error.
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231129131919.2528517-1-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/platforms')
0 files changed, 0 insertions, 0 deletions