X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=sound%2Fpci%2Fad1889.c;h=a7f38e63303f82120ceffacb4f08daf4b75f889d;hb=2f5ad54ea6e2e38156bfb889964deee991f3087a;hp=92f3a976ef2e719a8d81154d8501dc492deec1dd;hpb=206855c321adee56db3946ca09a5887cddb9d598;p=linux-2.6-omap-h63xx.git diff --git a/sound/pci/ad1889.c b/sound/pci/ad1889.c index 92f3a976ef2..a7f38e63303 100644 --- a/sound/pci/ad1889.c +++ b/sound/pci/ad1889.c @@ -932,7 +932,7 @@ snd_ad1889_create(struct snd_card *card, goto free_and_ret; chip->bar = pci_resource_start(pci, 0); - chip->iobase = ioremap_nocache(chip->bar, pci_resource_len(pci, 0)); + chip->iobase = pci_ioremap_bar(pci, 0); if (chip->iobase == NULL) { printk(KERN_ERR PFX "unable to reserve region.\n"); err = -EBUSY;