From 873f7a1781ab0cea8ddb4d0b8789d7c936552ccd Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Wed, 13 Sep 2023 16:08:38 +0200 Subject: m68k: sun3x: Fix signature of sun3_leds() The sun3_leds() implementation for Sun3 in arch/m68k/sun3/leds.c, and the prototype in arch/m68k/sun3/sun3ints.c take an "unsigned char", not an "int". Align the dummy implementation for Sun3x with the Sun3 variant and the common caller. Signed-off-by: Geert Uytterhoeven Acked-by: Arnd Bergmann Link: https://lore.kernel.org/r/5214afb67eac58b8adae5710aea0980c2644ff24.1694613528.git.geert@linux-m68k.org --- arch/m68k/sun3x/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/m68k') diff --git a/arch/m68k/sun3x/config.c b/arch/m68k/sun3x/config.c index 3a10cda636fc..e2a5d84df6d2 100644 --- a/arch/m68k/sun3x/config.c +++ b/arch/m68k/sun3x/config.c @@ -27,7 +27,7 @@ volatile char *clock_va; extern void sun3_get_model(char *model); -void sun3_leds(unsigned int i) +void sun3_leds(unsigned char byte) { } -- cgit