From 3898c79cb27f21bc552a341d3d8c26af52263257 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Wed, 20 Jan 2021 22:40:40 -0600 Subject: serial: don't declare serial_init as static The function serial_init should not be declared as static. This function could change under a different architecture and should be defined with the target architecture. Signed-off-by: Danny Holman --- arch/i386/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch') diff --git a/arch/i386/serial.c b/arch/i386/serial.c index b172e82..c1266bb 100644 --- a/arch/i386/serial.c +++ b/arch/i386/serial.c @@ -3,7 +3,7 @@ #define PORT 0x3f8 -static int serial_init(void) { +int serial_init(void) { outb(PORT + 1, 0x00); outb(PORT + 3, 0x80); outb(PORT + 0, 0x03); -- cgit v1.2.3