diff options
Diffstat (limited to 'drivers/net/wan/pc300too.c')
-rw-r--r-- | drivers/net/wan/pc300too.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/pc300too.c b/drivers/net/wan/pc300too.c index bf1b01590429..222671165223 100644 --- a/drivers/net/wan/pc300too.c +++ b/drivers/net/wan/pc300too.c | |||
@@ -379,7 +379,7 @@ static int __devinit pc300_pci_init_one(struct pci_dev *pdev, | |||
379 | card->scabase = ioremap(scaphys, PC300_SCA_SIZE); | 379 | card->scabase = ioremap(scaphys, PC300_SCA_SIZE); |
380 | 380 | ||
381 | ramphys = pci_resource_start(pdev,3) & PCI_BASE_ADDRESS_MEM_MASK; | 381 | ramphys = pci_resource_start(pdev,3) & PCI_BASE_ADDRESS_MEM_MASK; |
382 | card->rambase = ioremap(ramphys, pci_resource_len(pdev,3)); | 382 | card->rambase = pci_ioremap_bar(pdev, 3); |
383 | 383 | ||
384 | if (card->plxbase == NULL || | 384 | if (card->plxbase == NULL || |
385 | card->scabase == NULL || | 385 | card->scabase == NULL || |