X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=sound%2Fpci%2Fmixart%2Fmixart.c;h=f23a73577c2219cb7da2b03317bf1106b7e1f981;hb=55fa518867978e1f5fd8353098f80d125ac734d7;hp=fd9a117f37a42649cf237b008988c9ce7b9bb922;hpb=bb1f24bf00a85f666b56a09b7cdbfd221af16c2c;p=linux-2.6-omap-h63xx.git diff --git a/sound/pci/mixart/mixart.c b/sound/pci/mixart/mixart.c index fd9a117f37a..f23a73577c2 100644 --- a/sound/pci/mixart/mixart.c +++ b/sound/pci/mixart/mixart.c @@ -1315,8 +1315,7 @@ static int __devinit snd_mixart_probe(struct pci_dev *pci, } for (i = 0; i < 2; i++) { mgr->mem[i].phys = pci_resource_start(pci, i); - mgr->mem[i].virt = ioremap_nocache(mgr->mem[i].phys, - pci_resource_len(pci, i)); + mgr->mem[i].virt = pci_ioremap_bar(pci, i); if (!mgr->mem[i].virt) { printk(KERN_ERR "unable to remap resource 0x%lx\n", mgr->mem[i].phys);