m68k: amiga: Remove redundant amiga_reset() prototype

Remove the redundant amiga_reset() prototype and mark the first one as
__noreturn instead.

Tested-by: Daniel Palmer <daniel@thingy.jp>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://patch.msgid.link/20260629120426.680032-4-thorsten.blum@linux.dev
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
Thorsten Blum 2026-06-29 14:04:27 +02:00 committed by Geert Uytterhoeven
parent dc59e4fea9
commit 8ee36ff236

View File

@ -96,7 +96,7 @@ static char amiga_model_name[13] = "Amiga ";
static void amiga_sched_init(void);
static void amiga_get_model(char *model);
static void amiga_get_hardware_list(struct seq_file *m);
static void amiga_reset(void);
static void amiga_reset(void) __noreturn;
static void amiga_mem_console_write(struct console *co, const char *b,
unsigned int count);
#ifdef CONFIG_HEARTBEAT
@ -543,8 +543,6 @@ static u64 amiga_read_clk(struct clocksource *cs)
return ticks;
}
static void amiga_reset(void) __noreturn;
static void amiga_reset(void)
{
unsigned long jmp_addr040 = virt_to_phys(&&jmp_addr_label040);