summaryrefslogtreecommitdiff
path: root/src/superio/nsc/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/nsc/common')
-rw-r--r--src/superio/nsc/common/early_serial.c2
-rw-r--r--src/superio/nsc/common/nsc.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/superio/nsc/common/early_serial.c b/src/superio/nsc/common/early_serial.c
index 2cd9f050cf..0ac146f0aa 100644
--- a/src/superio/nsc/common/early_serial.c
+++ b/src/superio/nsc/common/early_serial.c
@@ -17,7 +17,7 @@
* GNU General Public License for more details.
*/
-#include <arch/io.h>
+#include <device/pnp_ops.h>
#include <device/pnp_def.h>
#include <stdint.h>
#include "nsc.h"
diff --git a/src/superio/nsc/common/nsc.h b/src/superio/nsc/common/nsc.h
index 76112dc4fa..c2d732c491 100644
--- a/src/superio/nsc/common/nsc.h
+++ b/src/superio/nsc/common/nsc.h
@@ -20,6 +20,7 @@
#include <device/pnp_def.h>
#include <stdint.h>
+#include <device/pnp_type.h>
void nsc_enable_serial(pnp_devfn_t dev, u16 iobase);