Re: [PATCH] m68k: kexec: include reboot.h

2023-04-21 Thread Geert Uytterhoeven
On Fri, Apr 21, 2023 at 9:11 AM Simon Horman wrote: > Include reboot.h in machine_kexec.c for declaration of > machine_crash_shutdown and machine_shutdown. > > gcc-12 with W=1 reports: > > arch/m68k/kernel/machine_kexec.c:26:6: warning: no previous prototype for > 'machine_shutdown'

[PATCH] m68k: kexec: include reboot.h

2023-04-21 Thread Simon Horman
Include reboot.h in machine_kexec.c for declaration of machine_crash_shutdown and machine_shutdown. gcc-12 with W=1 reports: arch/m68k/kernel/machine_kexec.c:26:6: warning: no previous prototype for 'machine_shutdown' [-Wmissing-prototypes] 26 | void machine_shutdown(void) |