aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia/ibmtr_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pcmcia/ibmtr_cs.c')
-rw-r--r--drivers/net/pcmcia/ibmtr_cs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pcmcia/ibmtr_cs.c b/drivers/net/pcmcia/ibmtr_cs.c
index 7a985ca079d7..6fc89eba9c8f 100644
--- a/drivers/net/pcmcia/ibmtr_cs.c
+++ b/drivers/net/pcmcia/ibmtr_cs.c
@@ -252,7 +252,7 @@ static int __devinit ibmtr_config(struct pcmcia_device *link)
252 252
253 mem.CardOffset = mmiobase; 253 mem.CardOffset = mmiobase;
254 mem.Page = 0; 254 mem.Page = 0;
255 ret = pcmcia_map_mem_page(link->win, &mem); 255 ret = pcmcia_map_mem_page(link, link->win, &mem);
256 if (ret) 256 if (ret)
257 goto failed; 257 goto failed;
258 ti->mmio = ioremap(req.Base, req.Size); 258 ti->mmio = ioremap(req.Base, req.Size);
@@ -269,7 +269,7 @@ static int __devinit ibmtr_config(struct pcmcia_device *link)
269 269
270 mem.CardOffset = srambase; 270 mem.CardOffset = srambase;
271 mem.Page = 0; 271 mem.Page = 0;
272 ret = pcmcia_map_mem_page(info->sram_win_handle, &mem); 272 ret = pcmcia_map_mem_page(link, info->sram_win_handle, &mem);
273 if (ret) 273 if (ret)
274 goto failed; 274 goto failed;
275 275