summaryrefslogtreecommitdiff
path: root/src/superio/fintek
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/fintek')
-rw-r--r--src/superio/fintek/common/early_serial.c1
-rw-r--r--src/superio/fintek/common/fintek.h2
-rw-r--r--src/superio/fintek/f81216h/early_serial.c1
-rw-r--r--src/superio/fintek/f81216h/f81216h.h2
4 files changed, 5 insertions, 1 deletions
diff --git a/src/superio/fintek/common/early_serial.c b/src/superio/fintek/common/early_serial.c
index d653b1d772..c625b5327b 100644
--- a/src/superio/fintek/common/early_serial.c
+++ b/src/superio/fintek/common/early_serial.c
@@ -34,6 +34,7 @@
*/
#include <arch/io.h>
+#include <device/pnp_ops.h>
#include <device/pnp.h>
#include <stdint.h>
#include "fintek.h"
diff --git a/src/superio/fintek/common/fintek.h b/src/superio/fintek/common/fintek.h
index 7ad08ea30a..cbd175f7ac 100644
--- a/src/superio/fintek/common/fintek.h
+++ b/src/superio/fintek/common/fintek.h
@@ -17,7 +17,7 @@
#ifndef SUPERIO_FINTEK_COMMON_PRE_RAM_H
#define SUPERIO_FINTEK_COMMON_PRE_RAM_H
-#include <arch/io.h>
+#include <device/pnp_type.h>
#include <stdint.h>
void fintek_enable_serial(pnp_devfn_t dev, u16 iobase);
diff --git a/src/superio/fintek/f81216h/early_serial.c b/src/superio/fintek/f81216h/early_serial.c
index 9e8e48b405..1990c37ae7 100644
--- a/src/superio/fintek/f81216h/early_serial.c
+++ b/src/superio/fintek/f81216h/early_serial.c
@@ -15,6 +15,7 @@
*/
#include <arch/io.h>
+#include <device/pnp_ops.h>
#include <device/pnp.h>
#include <stdint.h>
#include "f81216h.h"
diff --git a/src/superio/fintek/f81216h/f81216h.h b/src/superio/fintek/f81216h/f81216h.h
index ec541657b8..1a6b6406f8 100644
--- a/src/superio/fintek/f81216h/f81216h.h
+++ b/src/superio/fintek/f81216h/f81216h.h
@@ -17,6 +17,8 @@
#ifndef SUPERIO_FINTEK_F81216H_H
#define SUPERIO_FINTEK_F81216H_H
+#include <device/pnp_type.h>
+
/* Logical Device Numbers (LDN). */
#define F81216H_SP1 0x00 /* UART1 (+CIR mode) */
#define F81216H_SP2 0x01 /* UART2 */