summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2023-09-13 16:08:30 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2023-10-06 10:03:03 +0200
commitbdc1656c08c6aaf68163a111871c07d6f4923c64 (patch)
tree44e86f635ec0740f99f3d99edd51cd93fe274b78 /arch
parentm68k: sun3: Fix context restore in flush_tlb_range() (diff)
downloadlinux-bdc1656c08c6aaf68163a111871c07d6f4923c64.tar.xz
linux-bdc1656c08c6aaf68163a111871c07d6f4923c64.zip
m68k: sun3: Fix signature of sun3_get_model()
The mach_get_model() callback takes a "char *", not an "unsigned char *". Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/c635afb4542ab54c3dbd4fa2fbed07a2665a2f4e.1694613528.git.geert@linux-m68k.org
Diffstat (limited to 'arch')
-rw-r--r--arch/m68k/sun3/idprom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/sun3/idprom.c b/arch/m68k/sun3/idprom.c
index 1ace5353d78f..9ffd6515ad74 100644
--- a/arch/m68k/sun3/idprom.c
+++ b/arch/m68k/sun3/idprom.c
@@ -83,7 +83,7 @@ static void __init display_system_type(unsigned char machtype)
prom_halt();
}
-void sun3_get_model(unsigned char* model)
+void sun3_get_model(char *model)
{
register int i;