pcmcia: move config_{base,index,regs} to struct pcmcia_device
[deliverable/linux.git] / drivers / char / pcmcia / synclink_cs.c
index ba7ccf5701ed28e12841789ddf167b71243c706c..535aa0899e9f019612dbc7f488f7c616f780c982 100644 (file)
@@ -594,8 +594,8 @@ static int mgslpc_config(struct pcmcia_device *link)
            goto failed;
 
     link->conf.Attributes = CONF_ENABLE_IRQ;
-    link->conf.ConfigIndex = 8;
-    link->conf.Present = PRESENT_OPTION;
+    link->config_index = 8;
+    link->config_regs = PRESENT_OPTION;
 
     ret = pcmcia_request_irq(link, mgslpc_isr);
     if (ret)
@@ -608,7 +608,7 @@ static int mgslpc_config(struct pcmcia_device *link)
     info->irq_level = link->irq;
 
     dev_info(&link->dev, "index 0x%02x:",
-           link->conf.ConfigIndex);
+           link->config_index);
     if (link->conf.Attributes & CONF_ENABLE_IRQ)
            printk(", irq %d", link->irq);
     if (link->resource[0])
This page took 0.038982 seconds and 5 git commands to generate.