mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-22 12:33:59 +08:00
sata_via: pcim_iomap_regions() conversion missed BAR5
pcim_iomap_regions() conversion missed BAR5. Fix it. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
d9aca22cf4
commit
8fd7d1b16e
@ -441,7 +441,7 @@ static int vt6421_prepare_host(struct pci_dev *pdev, struct ata_host **r_host)
|
|||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
rc = pcim_iomap_regions(pdev, 0x1f, DRV_NAME);
|
rc = pcim_iomap_regions(pdev, 0x3f, DRV_NAME);
|
||||||
if (rc) {
|
if (rc) {
|
||||||
dev_printk(KERN_ERR, &pdev->dev, "failed to request/iomap "
|
dev_printk(KERN_ERR, &pdev->dev, "failed to request/iomap "
|
||||||
"PCI BARs (errno=%d)\n", rc);
|
"PCI BARs (errno=%d)\n", rc);
|
||||||
|
Loading…
Reference in New Issue
Block a user