pcmcia: do not use io_req_t after call to pcmcia_request_io()
[linux-2.6.git] / drivers / net / wireless / atmel_cs.c
index 91ee74a..65b3aed 100644 (file)
@@ -253,7 +253,7 @@ static int atmel_config(struct pcmcia_device *link)
 
        ((local_info_t*)link->priv)->eth_dev =
                init_atmel_card(link->irq,
-                               link->io.BasePort1,
+                               link->resource[0]->start,
                                did ? did->driver_info : ATMEL_FW_TYPE_NONE,
                                &link->dev,
                                card_present,