]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/pci/pci.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / drivers / pci / pci.c
index b5eea89e7d42d6e49ff7091411b1e3bfdefccc5b..41780dbe74130e889f13bcf3460f936fce2be69d 100644 (file)
@@ -157,7 +157,7 @@ pci_dev_t pci_find_devices(struct pci_device_id *ids, int index)
 
        for (hose = hose_head; hose; hose = hose->next)
        {
-#ifdef CFG_SCSI_SCAN_BUS_REVERSE
+#ifdef CONFIG_SYS_SCSI_SCAN_BUS_REVERSE
                for (bus = hose->last_busno; bus >= hose->first_busno; bus--)
 #else
                for (bus = hose->first_busno; bus <= hose->last_busno; bus++)