aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/cyber2000fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/cyber2000fb.c')
-rw-r--r--drivers/video/cyber2000fb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/cyber2000fb.c b/drivers/video/cyber2000fb.c
index 39d5d643a50b..7a9e42e3a9a9 100644
--- a/drivers/video/cyber2000fb.c
+++ b/drivers/video/cyber2000fb.c
@@ -1583,8 +1583,7 @@ cyberpro_pci_probe(struct pci_dev *dev, const struct pci_device_id *id)
1583 goto failed_release; 1583 goto failed_release;
1584 1584
1585 cfb->dev = dev; 1585 cfb->dev = dev;
1586 cfb->region = ioremap(pci_resource_start(dev, 0), 1586 cfb->region = pci_ioremap_bar(dev, 0);
1587 pci_resource_len(dev, 0));
1588 if (!cfb->region) 1587 if (!cfb->region)
1589 goto failed_ioremap; 1588 goto failed_ioremap;
1590 1589