summaryrefslogtreecommitdiffstats
path: root/src/superio/fintek/f71872/early_serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/fintek/f71872/early_serial.c')
-rw-r--r--src/superio/fintek/f71872/early_serial.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/superio/fintek/f71872/early_serial.c b/src/superio/fintek/f71872/early_serial.c
index af5cdb3..bbfc264 100644
--- a/src/superio/fintek/f71872/early_serial.c
+++ b/src/superio/fintek/f71872/early_serial.c
@@ -21,6 +21,7 @@
/* Pre-RAM driver for the Fintek F71872F/FG Super I/O chip. */
#include <arch/io.h>
+#include <device/pnp.h>
#include "f71872.h"
static void pnp_enter_conf_state(device_t dev)
@@ -36,7 +37,7 @@ static void pnp_exit_conf_state(device_t dev)
outb(0xaa, port);
}
-static void f71872_enable_serial(device_t dev, u16 iobase)
+void f71872_enable_serial(device_t dev, u16 iobase)
{
pnp_enter_conf_state(dev);
pnp_set_logical_device(dev);
OpenPOWER on IntegriCloud