[PATCH 40/52] m68k: sun3: Fix signature of sun3_get_model()

Geert Uytterhoeven
2023-09-07T15:46:21Z

The mach_get_model() callback takes a "char *", not an
"unsigned char *".

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
arch/m68k/sun3/idprom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/m68k/sun3/idprom.c b/arch/m68k/sun3/idprom.c
index 1ace5353d78f5377..9ffd6515ad74a7fa 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;

--
2.34.1