X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=sound%2Fpci%2Fhda%2Fhda_intel.c;h=a26ae8c4cf70d5fa40c32c12b6501de44761800d;hb=0ff555192a8d20385d49d1c420e2e8d409b3c0da;hp=f2337e4eddda439c29f7fb62fcfe66fa380ada84;hpb=3218c178b41b420cb7e0d120c7a137a3969242e5;p=linux-2.6-omap-h63xx.git diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index f2337e4eddd..a26ae8c4cf7 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -2182,7 +2182,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;