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/device | |
parent | 44e89af6e609874f2f18d30f1e66dce8b5a98eff (diff) | |
download | coreboot-f1b58b78351d7ed220673e688a2f7bc9e96da4e2.tar.xz |
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/device')
-rw-r--r-- | src/device/cardbus_device.c | 1 | ||||
-rw-r--r-- | src/device/hypertransport.c | 1 | ||||
-rw-r--r-- | src/device/pci_class.c | 1 | ||||
-rw-r--r-- | src/device/pci_device.c | 1 | ||||
-rw-r--r-- | src/device/pcix_device.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/src/device/cardbus_device.c b/src/device/cardbus_device.c index b572e85dde..adfc503581 100644 --- a/src/device/cardbus_device.c +++ b/src/device/cardbus_device.c @@ -18,6 +18,7 @@ #include <console/console.h> #include <device/device.h> #include <device/pci.h> +#include <device/pci_ops.h> #include <device/pci_ids.h> #include <device/cardbus.h> diff --git a/src/device/hypertransport.c b/src/device/hypertransport.c index ed6b2dd998..ccad5ce5a5 100644 --- a/src/device/hypertransport.c +++ b/src/device/hypertransport.c @@ -24,6 +24,7 @@ #include <device/device.h> #include <device/path.h> #include <device/pci.h> +#include <device/pci_ops.h> #include <device/pci_ids.h> #include <device/hypertransport.h> diff --git a/src/device/pci_class.c b/src/device/pci_class.c index 1326b2c0cc..aa28ce8205 100644 --- a/src/device/pci_class.c +++ b/src/device/pci_class.c @@ -16,6 +16,7 @@ #include <device/device.h> #include <device/pci.h> +#include <device/pci_ops.h> #include <device/pciexp.h> #include <device/pci_ids.h> #include <stdlib.h> diff --git a/src/device/pci_device.c b/src/device/pci_device.c index 82033a6ad9..b275788157 100644 --- a/src/device/pci_device.c +++ b/src/device/pci_device.c @@ -33,6 +33,7 @@ #include <arch/acpi.h> #include <arch/io.h> +#include <device/pci_ops.h> #include <bootmode.h> #include <console/console.h> #include <stdlib.h> diff --git a/src/device/pcix_device.c b/src/device/pcix_device.c index 1204660d7b..e327b88991 100644 --- a/src/device/pcix_device.c +++ b/src/device/pcix_device.c @@ -17,6 +17,7 @@ #include <console/console.h> #include <device/device.h> #include <device/pci.h> +#include <device/pci_ops.h> #include <device/pcix.h> static void pcix_tune_dev(struct device *dev) |