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'
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)
|