pci: use pci_ioremap_bar() in sound/
[linux-2.6.git] / sound / pci / cs5530.c
index 7ff8b68e997e89cbb83bda6ced49f49cf44ceea9..4d9378d812000fbea40a422515d8e7b9e5a7c80e 100644 (file)
@@ -132,7 +132,7 @@ static int __devinit snd_cs5530_create(struct snd_card *card,
        }
        chip->pci_base = pci_resource_start(pci, 0);
 
-       mem = ioremap_nocache(chip->pci_base, pci_resource_len(pci, 0));
+       mem = pci_ioremap_bar(pci, 0);
        if (mem == NULL) {
                kfree(chip);
                pci_disable_device(pci);