aboutsummaryrefslogtreecommitdiffstats
path: root/src/fw/acpi.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-02-03 01:28:20 -0500
committerKevin O'Connor <kevin@koconnor.net>2016-02-03 10:38:42 -0500
commit4d8510cdcca0a6b160bb8dc3a254ab0baacb10f6 (patch)
tree03e971f2bc93a834a3dd57a304b9a6a17309eba4 /src/fw/acpi.c
parent62ff9d5f649c6ce0d8cbea5d90080afc9870f54a (diff)
downloadseabios-4d8510cdcca0a6b160bb8dc3a254ab0baacb10f6.tar.gz
pci: Split low-level pci code from higher-level 'struct pci_device' code
Split pci.c into pci.c and pcidevice.c. The low-level code that interacts directly with the PCI devices remains in pci.c, while functions dealing with the higher level pci_device cache move to pcidevice.c. Only pci.c is needed in 16bit mode. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/fw/acpi.c')
-rw-r--r--src/fw/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fw/acpi.c b/src/fw/acpi.c
index b805b44f..8bc2ca6b 100644
--- a/src/fw/acpi.c
+++ b/src/fw/acpi.c
@@ -10,7 +10,7 @@
#include "config.h" // CONFIG_*
#include "dev-q35.h"
#include "dev-piix.h"
-#include "hw/pci.h" // pci_find_init_device
+#include "hw/pcidevice.h" // pci_find_init_device
#include "hw/pci_ids.h" // PCI_VENDOR_ID_INTEL
#include "hw/pci_regs.h" // PCI_INTERRUPT_LINE
#include "malloc.h" // free