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/ite/it8772f | |
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/ite/it8772f')
-rw-r--r-- | src/superio/ite/it8772f/early_init.c | 1 | ||||
-rw-r--r-- | src/superio/ite/it8772f/it8772f.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/superio/ite/it8772f/early_init.c b/src/superio/ite/it8772f/early_init.c index b299d6da2f..95be01c111 100644 --- a/src/superio/ite/it8772f/early_init.c +++ b/src/superio/ite/it8772f/early_init.c @@ -15,6 +15,7 @@ */ #include <arch/io.h> +#include <device/pnp_ops.h> #include "it8772f.h" diff --git a/src/superio/ite/it8772f/it8772f.h b/src/superio/ite/it8772f/it8772f.h index 91d107a9a2..14d76acc77 100644 --- a/src/superio/ite/it8772f/it8772f.h +++ b/src/superio/ite/it8772f/it8772f.h @@ -126,7 +126,7 @@ enum thermal_mode { /* GPIO Mode: 0: input mode, 1: output mode */ #define GPIO_REG_OUTPUT(x) (0xc8 + (x)) -#include <arch/io.h> +#include <device/pnp_type.h> #include <stdint.h> u8 it8772f_sio_read(pnp_devfn_t dev, u8 reg); |