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/fintek | |
parent | 369559379453f9bf0e917635b642e6f70d55a93e (diff) | |
download | coreboot-3855c01e0a9d9e9787652479576e882bcda9fde5.tar.xz |
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/fintek')
-rw-r--r-- | src/superio/fintek/common/early_serial.c | 1 | ||||
-rw-r--r-- | src/superio/fintek/common/fintek.h | 2 | ||||
-rw-r--r-- | src/superio/fintek/f81216h/early_serial.c | 1 | ||||
-rw-r--r-- | src/superio/fintek/f81216h/f81216h.h | 2 |
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 */ |