aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/serial_cs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/serial/serial_cs.c b/drivers/serial/serial_cs.c
index 693738160010..f8658686439d 100644
--- a/drivers/serial/serial_cs.c
+++ b/drivers/serial/serial_cs.c
@@ -443,6 +443,7 @@ first_tuple(struct pcmcia_device *handle, tuple_t * tuple, cisparse_t * parse)
443 443
444static int simple_config_check(struct pcmcia_device *p_dev, 444static int simple_config_check(struct pcmcia_device *p_dev,
445 cistpl_cftable_entry_t *cf, 445 cistpl_cftable_entry_t *cf,
446 cistpl_cftable_entry_t *dflt,
446 void *priv_data) 447 void *priv_data)
447{ 448{
448 static const int size_table[2] = { 8, 16 }; 449 static const int size_table[2] = { 8, 16 };
@@ -465,6 +466,7 @@ static int simple_config_check(struct pcmcia_device *p_dev,
465 466
466static int simple_config_check_notpicky(struct pcmcia_device *p_dev, 467static int simple_config_check_notpicky(struct pcmcia_device *p_dev,
467 cistpl_cftable_entry_t *cf, 468 cistpl_cftable_entry_t *cf,
469 cistpl_cftable_entry_t *dflt,
468 void *priv_data) 470 void *priv_data)
469{ 471{
470 static const unsigned int base[5] = { 0x3f8, 0x2f8, 0x3e8, 0x2e8, 0x0 }; 472 static const unsigned int base[5] = { 0x3f8, 0x2f8, 0x3e8, 0x2e8, 0x0 };
@@ -546,6 +548,7 @@ found_port:
546 548
547static int multi_config_check(struct pcmcia_device *p_dev, 549static int multi_config_check(struct pcmcia_device *p_dev,
548 cistpl_cftable_entry_t *cf, 550 cistpl_cftable_entry_t *cf,
551 cistpl_cftable_entry_t *dflt,
549 void *priv_data) 552 void *priv_data)
550{ 553{
551 int *base2 = priv_data; 554 int *base2 = priv_data;
@@ -565,6 +568,7 @@ static int multi_config_check(struct pcmcia_device *p_dev,
565 568
566static int multi_config_check_notpicky(struct pcmcia_device *p_dev, 569static int multi_config_check_notpicky(struct pcmcia_device *p_dev,
567 cistpl_cftable_entry_t *cf, 570 cistpl_cftable_entry_t *cf,
571 cistpl_cftable_entry_t *dflt,
568 void *priv_data) 572 void *priv_data)
569{ 573{
570 int *base2 = priv_data; 574 int *base2 = priv_data;