summaryrefslogtreecommitdiff
path: root/arch/m68k
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2023-09-13 16:08:38 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2023-10-06 10:03:04 +0200
commit873f7a1781ab0cea8ddb4d0b8789d7c936552ccd (patch)
tree4e6fafa5821937f771f336042f91851d174b516e /arch/m68k
parent88be4a461e6488af6f2bc5a305e0427f969eb274 (diff)
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 <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/5214afb67eac58b8adae5710aea0980c2644ff24.1694613528.git.geert@linux-m68k.org
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/sun3x/config.c2
1 files changed, 1 insertions, 1 deletions
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)
{
}