summaryrefslogtreecommitdiff
path: root/src/superio/nsc
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/nsc')
-rw-r--r--src/superio/nsc/common/early_serial.c2
-rw-r--r--src/superio/nsc/common/nsc.h1
-rw-r--r--src/superio/nsc/pc87417/early_init.c1
-rw-r--r--src/superio/nsc/pc87417/pc87417.h2
-rw-r--r--src/superio/nsc/pc97317/early_serial.c1
-rw-r--r--src/superio/nsc/pc97317/pc97317.h2
6 files changed, 6 insertions, 3 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);
diff --git a/src/superio/nsc/pc87417/early_init.c b/src/superio/nsc/pc87417/early_init.c
index c7ed11ce6c..eab4126778 100644
--- a/src/superio/nsc/pc87417/early_init.c
+++ b/src/superio/nsc/pc87417/early_init.c
@@ -17,6 +17,7 @@
*/
#include <arch/io.h>
+#include <device/pnp_ops.h>
#include <device/pnp.h>
#include <stdint.h>
#include "pc87417.h"
diff --git a/src/superio/nsc/pc87417/pc87417.h b/src/superio/nsc/pc87417/pc87417.h
index b50a920687..25401e4617 100644
--- a/src/superio/nsc/pc87417/pc87417.h
+++ b/src/superio/nsc/pc87417/pc87417.h
@@ -110,7 +110,7 @@
#define PC87417_XSCNF 0x15
#define PC87417_XWBCNF 0x16
-#include <arch/io.h>
+#include <device/pnp_type.h>
#include <stdint.h>
void pc87417_disable_dev(pnp_devfn_t dev);
diff --git a/src/superio/nsc/pc97317/early_serial.c b/src/superio/nsc/pc97317/early_serial.c
index f13f98bd5f..74489faf37 100644
--- a/src/superio/nsc/pc97317/early_serial.c
+++ b/src/superio/nsc/pc97317/early_serial.c
@@ -15,6 +15,7 @@
*/
#include <arch/io.h>
+#include <device/pnp_ops.h>
#include <device/pnp.h>
#include <stdint.h>
#include "pc97317.h"
diff --git a/src/superio/nsc/pc97317/pc97317.h b/src/superio/nsc/pc97317/pc97317.h
index 1d82817518..76717fa0df 100644
--- a/src/superio/nsc/pc97317/pc97317.h
+++ b/src/superio/nsc/pc97317/pc97317.h
@@ -27,7 +27,7 @@
#define PC97317_GPIO 0x07
#define PC97317_PM 0x08 /* Power Management */
-#include <arch/io.h>
+#include <device/pnp_type.h>
#include <stdint.h>
void pc97317_enable_serial(pnp_devfn_t dev, u16 iobase);