diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-03-01 13:43:02 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-03-01 20:32:15 +0000 |
commit | f1b58b78351d7ed220673e688a2f7bc9e96da4e2 (patch) | |
tree | d8aae223f0e426f189cb4750b972a31e09d46b88 /src/mainboard/lenovo/x200 | |
parent | 44e89af6e609874f2f18d30f1e66dce8b5a98eff (diff) |
device/pci: Fix PCI accessor headers
PCI config accessors are no longer indirectly included
from <arch/io.h> use <device/pci_ops.h> instead.
Change-Id: I2adf46430a33bc52ef69d1bf7dca4655fc8475bd
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/31675
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/lenovo/x200')
-rw-r--r-- | src/mainboard/lenovo/x200/dock.c | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/x200/fadt.c | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/x200/romstage.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x200/dock.c b/src/mainboard/lenovo/x200/dock.c index dc5eabf372..6e87644302 100644 --- a/src/mainboard/lenovo/x200/dock.c +++ b/src/mainboard/lenovo/x200/dock.c @@ -18,6 +18,7 @@ #define __SIMPLE_DEVICE__ #include <console/console.h> #include <arch/io.h> +#include <device/pci_ops.h> #include <device/device.h> #include <device/pci.h> #include <delay.h> diff --git a/src/mainboard/lenovo/x200/fadt.c b/src/mainboard/lenovo/x200/fadt.c index d22ffd9b38..45c0d74222 100644 --- a/src/mainboard/lenovo/x200/fadt.c +++ b/src/mainboard/lenovo/x200/fadt.c @@ -16,6 +16,7 @@ #include <string.h> #include <device/pci.h> +#include <device/pci_ops.h> #include <arch/acpi.h> #include <cpu/x86/smm.h> #include <version.h> diff --git a/src/mainboard/lenovo/x200/romstage.c b/src/mainboard/lenovo/x200/romstage.c index e8bbfb09fd..7e428e40fa 100644 --- a/src/mainboard/lenovo/x200/romstage.c +++ b/src/mainboard/lenovo/x200/romstage.c @@ -17,6 +17,7 @@ // __PRE_RAM__ means: use "unsigned" for device, not a struct. #include <arch/io.h> +#include <device/pci_ops.h> #include <southbridge/intel/common/gpio.h> #include <southbridge/intel/i82801ix/i82801ix.h> #include <northbridge/intel/gm45/gm45.h> |