pci: use pci_ioremap_bar() in sound/
[linux-2.6.git] / sound / pci / hda / hda_intel.c
index 9f316c1b2790851d6b6f83bcdd9a1e980ea2315b..f080f8ce0ecb6a6bb56d3f2515ebaa0960b90d39 100644 (file)
@@ -2158,7 +2158,7 @@ static int __devinit azx_create(struct snd_card *card, struct pci_dev *pci,
        }
 
        chip->addr = pci_resource_start(pci, 0);
-       chip->remap_addr = ioremap_nocache(chip->addr, pci_resource_len(pci,0));
+       chip->remap_addr = pci_ioremap_bar(pci, 0);
        if (chip->remap_addr == NULL) {
                snd_printk(KERN_ERR SFX "ioremap error\n");
                err = -ENXIO;