pcmcia: pcmcia_request_window() doesn't need a pointer to a pointer
[linux-2.6.git] / drivers / net / pcmcia / xirc2ps_cs.c
index 9bc4d60..265852a 100644 (file)
@@ -926,7 +926,7 @@ xirc2ps_config(struct pcmcia_device * link)
        req.Attributes = WIN_DATA_WIDTH_8|WIN_MEMORY_TYPE_AM|WIN_ENABLE;
        req.Base = req.Size = 0;
        req.AccessSpeed = 0;
-       if ((err = pcmcia_request_window(&link, &req, &link->win)))
+       if ((err = pcmcia_request_window(link, &req, &link->win)))
            goto config_error;
 
        local->dingo_ccr = ioremap(req.Base,0x1000) + 0x0800;