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/smsc/sio1036 | |
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/smsc/sio1036')
-rw-r--r-- | src/superio/smsc/sio1036/sio1036.h | 2 | ||||
-rw-r--r-- | src/superio/smsc/sio1036/sio1036_early_init.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/superio/smsc/sio1036/sio1036.h b/src/superio/smsc/sio1036/sio1036.h index 683dcd113e..610beba59c 100644 --- a/src/superio/smsc/sio1036/sio1036.h +++ b/src/superio/smsc/sio1036/sio1036.h @@ -22,7 +22,7 @@ #define LPT_POWER_DOWN (1 << 2) #define IR_OUTPUT_MUX (1 << 6) -#include <arch/io.h> +#include <device/pnp_type.h> #include <stdint.h> void sio1036_enable_serial(pnp_devfn_t dev, u16 iobase); diff --git a/src/superio/smsc/sio1036/sio1036_early_init.c b/src/superio/smsc/sio1036/sio1036_early_init.c index 1f2c9f2e5c..47f317f042 100644 --- a/src/superio/smsc/sio1036/sio1036_early_init.c +++ b/src/superio/smsc/sio1036/sio1036_early_init.c @@ -16,6 +16,7 @@ /* Pre-RAM driver for the SMSC KBC1100 Super I/O chip */ #include <arch/io.h> +#include <device/pnp_ops.h> #include <stdint.h> #include "sio1036.h" |