summaryrefslogtreecommitdiffstats
path: root/drivers/ide/siimage.c
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@linux.intel.com>2008-10-23 23:22:07 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-23 23:22:07 +0200
commit1f1ab2745be4afc77446f17dd575a7e5695710fd (patch)
treecd4ecf9643fae8a884d8ff35987468375763821e /drivers/ide/siimage.c
parent283435621a21679e02088b5abcce7d15d6d2010a (diff)
downloadlinux-1f1ab2745be4afc77446f17dd575a7e5695710fd.tar.gz
linux-1f1ab2745be4afc77446f17dd575a7e5695710fd.tar.bz2
linux-1f1ab2745be4afc77446f17dd575a7e5695710fd.zip
ide: two more pci_ioremap_bar() conversions
based on suggestion from Sergei Shtylyov, there are two more places where using pci_ioremap_bar() makes sense. Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/siimage.c')
-rw-r--r--drivers/ide/siimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/siimage.c b/drivers/ide/siimage.c
index eb4faf92c571..c3107df7773d 100644
--- a/drivers/ide/siimage.c
+++ b/drivers/ide/siimage.c
@@ -784,7 +784,7 @@ static int __devinit siimage_init_one(struct pci_dev *dev,
printk(KERN_WARNING DRV_NAME " %s: MMIO ports not "
"available\n", pci_name(dev));
} else {
- ioaddr = ioremap(bar5, barsize);
+ ioaddr = pci_ioremap_bar(dev, 5);
if (ioaddr == NULL)
release_mem_region(bar5, barsize);
}