aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/serial_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/serial_cs.c')
-rw-r--r--drivers/serial/serial_cs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/serial/serial_cs.c b/drivers/serial/serial_cs.c
index 38baede2a770..ee19f2d25c20 100644
--- a/drivers/serial/serial_cs.c
+++ b/drivers/serial/serial_cs.c
@@ -495,7 +495,7 @@ static int simple_config(struct pcmcia_device *link)
495 495
496found_port: 496found_port:
497 if (info->multi && (info->manfid == MANFID_3COM)) 497 if (info->multi && (info->manfid == MANFID_3COM))
498 link->conf.ConfigIndex &= ~(0x08); 498 link->config_index &= ~(0x08);
499 499
500 /* 500 /*
501 * Apply any configuration quirks. 501 * Apply any configuration quirks.
@@ -591,8 +591,8 @@ static int multi_config(struct pcmcia_device *link)
591 info->prodid == PRODID_POSSIO_GCC)) { 591 info->prodid == PRODID_POSSIO_GCC)) {
592 int err; 592 int err;
593 593
594 if (link->conf.ConfigIndex == 1 || 594 if (link->config_index == 1 ||
595 link->conf.ConfigIndex == 3) { 595 link->config_index == 3) {
596 err = setup_serial(link, info, base2, 596 err = setup_serial(link, info, base2,
597 link->irq); 597 link->irq);
598 base2 = link->resource[0]->start;; 598 base2 = link->resource[0]->start;;