summaryrefslogtreecommitdiff
path: root/src/superio/ite/it8671f/early_serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/ite/it8671f/early_serial.c')
-rw-r--r--src/superio/ite/it8671f/early_serial.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/superio/ite/it8671f/early_serial.c b/src/superio/ite/it8671f/early_serial.c
index c2ba6e02a1..9f35b8ad8e 100644
--- a/src/superio/ite/it8671f/early_serial.c
+++ b/src/superio/ite/it8671f/early_serial.c
@@ -19,6 +19,8 @@
*/
#include <arch/io.h>
+#include <device/pnp.h>
+#include <stdint.h>
#include "it8671f.h"
/* The base address is 0x3f0, 0x3bd, or 0x370, depending on config bytes. */
@@ -87,7 +89,7 @@ void it8671f_48mhz_clkin(void)
}
/* Enable the serial port(s). */
-static void it8671f_enable_serial(device_t dev, u16 iobase)
+void it8671f_enable_serial(device_t dev, u16 iobase)
{
it8671f_enter_conf();