aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm/nicstar.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atm/nicstar.c')
-rw-r--r--drivers/atm/nicstar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/nicstar.c b/drivers/atm/nicstar.c
index 38c769f8d2b7..3da804b1627d 100644
--- a/drivers/atm/nicstar.c
+++ b/drivers/atm/nicstar.c
@@ -415,7 +415,7 @@ static int __devinit ns_init_card(int i, struct pci_dev *pcidev)
415 card->pcidev = pcidev; 415 card->pcidev = pcidev;
416 membase = pci_resource_start(pcidev, 1); 416 membase = pci_resource_start(pcidev, 1);
417 card->membase = ioremap(membase, NS_IOREMAP_SIZE); 417 card->membase = ioremap(membase, NS_IOREMAP_SIZE);
418 if (card->membase == 0) 418 if (!card->membase)
419 { 419 {
420 printk("nicstar%d: can't ioremap() membase.\n",i); 420 printk("nicstar%d: can't ioremap() membase.\n",i);
421 error = 3; 421 error = 3;