pcmcia: do not use io_req_t after call to pcmcia_request_io()
[linux-2.6.git] / drivers / net / pcmcia / 3c574_cs.c
index e249b89..b5ea9b8 100644 (file)
@@ -356,7 +356,7 @@ static int tc574_config(struct pcmcia_device *link)
                goto failed;
 
        dev->irq = link->irq;
-       dev->base_addr = link->io.BasePort1;
+       dev->base_addr = link->resource[0]->start;
 
        ioaddr = dev->base_addr;