summaryrefslogtreecommitdiffstats
path: root/src/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/device')
-rw-r--r--src/device/device.c2
-rw-r--r--src/device/pci_device.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/device/device.c b/src/device/device.c
index ffda588d631d..4cb0ec40cf92 100644
--- a/src/device/device.c
+++ b/src/device/device.c
@@ -540,7 +540,7 @@ static void init_link(struct bus *link)
struct bus *c_link;
for (dev = link->children; dev; dev = dev->sibling) {
- post_code(POST_BS_DEV_INIT);
+ post_code(POSTCODE_BS_DEV_INIT);
post_log_path(dev);
init_dev(dev);
}
diff --git a/src/device/pci_device.c b/src/device/pci_device.c
index 5c5a5fb8dcfa..60339e3ade81 100644
--- a/src/device/pci_device.c
+++ b/src/device/pci_device.c
@@ -1438,7 +1438,7 @@ void pci_scan_bus(struct bus *bus, unsigned int min_devfn,
max_devfn=0xff;
}
- post_code(POST_ENTER_PCI_SCAN_BUS);
+ post_code(POSTCODE_ENTER_PCI_SCAN_BUS);
if (pci_bus_only_one_child(bus))
max_devfn = MIN(max_devfn, 0x07);
@@ -1529,7 +1529,7 @@ void pci_scan_bus(struct bus *bus, unsigned int min_devfn,
* side of any bridges that may be on this bus plus any devices.
* Return how far we've got finding sub-buses.
*/
- post_code(POST_EXIT_PCI_SCAN_BUS);
+ post_code(POSTCODE_EXIT_PCI_SCAN_BUS);
}
typedef enum {