pcmcia: pcmcia_request_window() doesn't need a pointer to a pointer
[linux-2.6.git] / drivers / mtd / maps / pcmciamtd.c
index 80b9005..689d6a7 100644 (file)
@@ -530,7 +530,7 @@ static int pcmciamtd_config(struct pcmcia_device *link)
                int ret;
                DEBUG(2, "requesting window with size = %dKiB memspeed = %d",
                      req.Size >> 10, req.AccessSpeed);
-               ret = pcmcia_request_window(&link, &req, &link->win);
+               ret = pcmcia_request_window(link, &req, &link->win);
                DEBUG(2, "ret = %d dev->win_size = %d", ret, dev->win_size);
                if(ret) {
                        req.Size >>= 1;