]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/ata/pata_atp867x.c
Merge tag 'pci-v5.5-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
[linux.git] / drivers / ata / pata_atp867x.c
index cfd0cf2cbca6caaaab2fd2b2d424375bb09a95a2..e01a3a6e4d462a3ed1089ad6ff52cea21252d5ab 100644 (file)
@@ -422,7 +422,7 @@ static int atp867x_ata_pci_sff_init_host(struct ata_host *host)
 #ifdef ATP867X_DEBUG
        atp867x_check_res(pdev);
 
-       for (i = 0; i < PCI_ROM_RESOURCE; i++)
+       for (i = 0; i < PCI_STD_NUM_BARS; i++)
                printk(KERN_DEBUG "ATP867X: iomap[%d]=0x%llx\n", i,
                        (unsigned long long)(host->iomap[i]));
 #endif