pcmcia: move config_{base,index,regs} to struct pcmcia_device
[linux-3.10.git] / drivers / staging / comedi / drivers / ni_daq_dio24.c
index fcaa829..4f9daa3 100644 (file)
@@ -358,7 +358,7 @@ static void dio24_config(struct pcmcia_device *link)
                goto failed;
 
        /* Finally, report what we've done */
-       dev_info(&link->dev, "index 0x%02x", link->conf.ConfigIndex);
+       dev_info(&link->dev, "index 0x%02x", link->config_index);
        if (link->conf.Attributes & CONF_ENABLE_IRQ)
                printk(", irq %d", link->irq);
        if (link->resource[0])