diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-03-03 08:45:19 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-03-04 15:58:55 +0000 |
commit | 3855c01e0a9d9e9787652479576e882bcda9fde5 (patch) | |
tree | 940945c52e59fb334b41960ab17513f240e95884 /src/superio/winbond | |
parent | 369559379453f9bf0e917635b642e6f70d55a93e (diff) |
device/pnp: Add header files for PNP ops
Change-Id: Ifda495420cfb121ad32920bb9f1cbdeef41f6d3a
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/31698
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/superio/winbond')
-rw-r--r-- | src/superio/winbond/common/early_init.c | 1 | ||||
-rw-r--r-- | src/superio/winbond/common/winbond.h | 2 | ||||
-rw-r--r-- | src/superio/winbond/w83627dhg/early_serial.c | 1 | ||||
-rw-r--r-- | src/superio/winbond/w83627dhg/w83627dhg.h | 2 | ||||
-rw-r--r-- | src/superio/winbond/w83627thg/w83627thg.h | 2 | ||||
-rw-r--r-- | src/superio/winbond/wpcd376i/early_serial.c | 2 | ||||
-rw-r--r-- | src/superio/winbond/wpcd376i/wpcd376i.h | 2 |
7 files changed, 7 insertions, 5 deletions
diff --git a/src/superio/winbond/common/early_init.c b/src/superio/winbond/common/early_init.c index 7c3ce2b3a5..b1b8c27693 100644 --- a/src/superio/winbond/common/early_init.c +++ b/src/superio/winbond/common/early_init.c @@ -34,6 +34,7 @@ */ #include <arch/io.h> +#include <device/pnp_ops.h> #include <device/pnp.h> #include <stdint.h> #include "winbond.h" diff --git a/src/superio/winbond/common/winbond.h b/src/superio/winbond/common/winbond.h index e8b5c259d0..29bfbf5ab3 100644 --- a/src/superio/winbond/common/winbond.h +++ b/src/superio/winbond/common/winbond.h @@ -17,7 +17,7 @@ #ifndef SUPERIO_WINBOND_COMMON_PRE_RAM_H #define SUPERIO_WINBOND_COMMON_PRE_RAM_H -#include <arch/io.h> +#include <device/pnp_type.h> #include <stdint.h> void winbond_enable_serial(pnp_devfn_t dev, uint16_t iobase); diff --git a/src/superio/winbond/w83627dhg/early_serial.c b/src/superio/winbond/w83627dhg/early_serial.c index 7ec6abec6b..4bea6785fe 100644 --- a/src/superio/winbond/w83627dhg/early_serial.c +++ b/src/superio/winbond/w83627dhg/early_serial.c @@ -16,6 +16,7 @@ */ #include <arch/io.h> +#include <device/pnp_ops.h> #include <stdint.h> #include "w83627dhg.h" diff --git a/src/superio/winbond/w83627dhg/w83627dhg.h b/src/superio/winbond/w83627dhg/w83627dhg.h index 53704370cb..004d5e8abb 100644 --- a/src/superio/winbond/w83627dhg/w83627dhg.h +++ b/src/superio/winbond/w83627dhg/w83627dhg.h @@ -18,7 +18,7 @@ #ifndef SUPERIO_WINBOND_W83627DHG_H #define SUPERIO_WINBOND_W83627DHG_H -#include <arch/io.h> +#include <device/pnp_type.h> #define W83627DHG_FDC 0 /* Floppy */ #define W83627DHG_PP 1 /* Parallel port */ diff --git a/src/superio/winbond/w83627thg/w83627thg.h b/src/superio/winbond/w83627thg/w83627thg.h index acea3826e9..d254e53c09 100644 --- a/src/superio/winbond/w83627thg/w83627thg.h +++ b/src/superio/winbond/w83627thg/w83627thg.h @@ -19,7 +19,7 @@ #ifndef SUPERIO_WINBOND_W83627THG_W83627THG_H #define SUPERIO_WINBOND_W83627THG_W83627THG_H -#include <arch/io.h> +#include <device/pnp_type.h> #define W83627THG_FDC 0 /* Floppy */ #define W83627THG_PP 1 /* Parallel port */ diff --git a/src/superio/winbond/wpcd376i/early_serial.c b/src/superio/winbond/wpcd376i/early_serial.c index 115e097492..9f9ff6b227 100644 --- a/src/superio/winbond/wpcd376i/early_serial.c +++ b/src/superio/winbond/wpcd376i/early_serial.c @@ -17,7 +17,7 @@ /* Pre-RAM driver for the Winbond WPCD376I Super I/O chip. */ -#include <arch/io.h> +#include <device/pnp_ops.h> #include <device/pnp_def.h> #include "wpcd376i.h" diff --git a/src/superio/winbond/wpcd376i/wpcd376i.h b/src/superio/winbond/wpcd376i/wpcd376i.h index 4bb9289581..a90b13bad7 100644 --- a/src/superio/winbond/wpcd376i/wpcd376i.h +++ b/src/superio/winbond/wpcd376i/wpcd376i.h @@ -18,7 +18,7 @@ #ifndef SUPERIO_WINBOND_WPCD376I_WPCD376I_H #define SUPERIO_WINBOND_WPCD376I_WPCD376I_H -#include <arch/io.h> +#include <device/pnp_type.h> /* Logical Device Numbers (LDN). */ #define WPCD376I_FDC 0x00 /* Floppy */ |