aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/pcmcia/synclink_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/pcmcia/synclink_cs.c')
-rw-r--r--drivers/char/pcmcia/synclink_cs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/pcmcia/synclink_cs.c b/drivers/char/pcmcia/synclink_cs.c
index ba7ccf5701ed..535aa0899e9f 100644
--- a/drivers/char/pcmcia/synclink_cs.c
+++ b/drivers/char/pcmcia/synclink_cs.c
@@ -594,8 +594,8 @@ static int mgslpc_config(struct pcmcia_device *link)
594 goto failed; 594 goto failed;
595 595
596 link->conf.Attributes = CONF_ENABLE_IRQ; 596 link->conf.Attributes = CONF_ENABLE_IRQ;
597 link->conf.ConfigIndex = 8; 597 link->config_index = 8;
598 link->conf.Present = PRESENT_OPTION; 598 link->config_regs = PRESENT_OPTION;
599 599
600 ret = pcmcia_request_irq(link, mgslpc_isr); 600 ret = pcmcia_request_irq(link, mgslpc_isr);
601 if (ret) 601 if (ret)
@@ -608,7 +608,7 @@ static int mgslpc_config(struct pcmcia_device *link)
608 info->irq_level = link->irq; 608 info->irq_level = link->irq;
609 609
610 dev_info(&link->dev, "index 0x%02x:", 610 dev_info(&link->dev, "index 0x%02x:",
611 link->conf.ConfigIndex); 611 link->config_index);
612 if (link->conf.Attributes & CONF_ENABLE_IRQ) 612 if (link->conf.Attributes & CONF_ENABLE_IRQ)
613 printk(", irq %d", link->irq); 613 printk(", irq %d", link->irq);
614 if (link->resource[0]) 614 if (link->resource[0])