aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2200.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ipw2200.c')
-rw-r--r--drivers/net/wireless/ipw2200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
index d0bfd8621119..13633d8274a3 100644
--- a/drivers/net/wireless/ipw2200.c
+++ b/drivers/net/wireless/ipw2200.c
@@ -11621,7 +11621,7 @@ static int __devinit ipw_pci_probe(struct pci_dev *pdev,
11621 length = pci_resource_len(pdev, 0); 11621 length = pci_resource_len(pdev, 0);
11622 priv->hw_len = length; 11622 priv->hw_len = length;
11623 11623
11624 base = ioremap_nocache(pci_resource_start(pdev, 0), length); 11624 base = pci_ioremap_bar(pdev, 0);
11625 if (!base) { 11625 if (!base) {
11626 err = -ENODEV; 11626 err = -ENODEV;
11627 goto out_pci_release_regions; 11627 goto out_pci_release_regions;