]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/pci.c
Code cleanup; make several boards compile & link.
[karo-tx-uboot.git] / drivers / pci.c
index e014f91444fb0964d502308e80d95d44aede4964..5a9dae47f34a176a2ca659c4b24a47367efb1602 100644 (file)
@@ -163,7 +163,7 @@ pci_dev_t pci_find_devices(struct pci_device_id *ids, int index)
 
        for (hose = hose_head; hose; hose = hose->next)
        {
-#if CFG_SCSI_SCAN_BUS_REVERSE
+#ifdef CFG_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++)