From 3e6913b389736ba38e104596871e0dac78c09beb Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Sat, 2 Mar 2019 16:26:10 +0200 Subject: arch/io.h: Fix PCI and PNP simple typedefs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Provide clean separation for PCI and PNP headers, followup will also move PNP outside . Change-Id: I85db254d50f18ea34a5e95bc517eac4085a5fafa Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/31690 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/include/device/pci_ehci.h | 2 +- src/include/device/pci_ops.h | 1 + src/include/device/pci_type.h | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include/device') diff --git a/src/include/device/pci_ehci.h b/src/include/device/pci_ehci.h index 9d18bcc798..146946ce75 100644 --- a/src/include/device/pci_ehci.h +++ b/src/include/device/pci_ehci.h @@ -17,8 +17,8 @@ #ifndef _PCI_EHCI_H_ #define _PCI_EHCI_H_ -#include #include +#include #define EHCI_BAR_INDEX 0x10 #define PCI_EHCI_CLASSCODE 0x0c0320 /* USB2.0 with EHCI controller */ diff --git a/src/include/device/pci_ops.h b/src/include/device/pci_ops.h index 6971ce4de7..f1d50d7060 100644 --- a/src/include/device/pci_ops.h +++ b/src/include/device/pci_ops.h @@ -3,6 +3,7 @@ #include #include +#include #include #ifdef __SIMPLE_DEVICE__ diff --git a/src/include/device/pci_type.h b/src/include/device/pci_type.h index 0b08e8d0aa..3f72c5f167 100644 --- a/src/include/device/pci_type.h +++ b/src/include/device/pci_type.h @@ -17,7 +17,6 @@ #include typedef u32 pci_devfn_t; -typedef u32 pnp_devfn_t; #define PCI_DEV(SEGBUS, DEV, FN) ( \ (((SEGBUS) & 0xFFF) << 20) | \ -- cgit v1.2.3