aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/airo_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/airo_cs.c')
-rw-r--r--drivers/net/wireless/airo_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/airo_cs.c b/drivers/net/wireless/airo_cs.c
index a1b84fc48afd..2aa6978d76ca 100644
--- a/drivers/net/wireless/airo_cs.c
+++ b/drivers/net/wireless/airo_cs.c
@@ -261,7 +261,7 @@ static int airo_cs_config_check(struct pcmcia_device *p_dev,
261 return -ENODEV; 261 return -ENODEV;
262 map.Page = 0; 262 map.Page = 0;
263 map.CardOffset = mem->win[0].card_addr; 263 map.CardOffset = mem->win[0].card_addr;
264 if (pcmcia_map_mem_page(p_dev->win, &map) != 0) 264 if (pcmcia_map_mem_page(p_dev, p_dev->win, &map) != 0)
265 return -ENODEV; 265 return -ENODEV;
266 } 266 }
267 /* If we got this far, we're cool! */ 267 /* If we got this far, we're cool! */