diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-02 09:30:31 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-22 19:22:00 -0400 |
commit | 8e2fc39ddea7fe8c6798837da282db88a09af793 (patch) | |
tree | 7cba37b5b86f4ff25562012a14e29424e3872de0 /drivers/char/pcmcia | |
parent | 498ac1899b62626bf6879a251d75c22ec564c559 (diff) |
pcmcia: pcmcia_config_loop() default CIS entry handling
Many drivers use the default CIS entry within their pcmcia_config_loop()
callback function. Therefore, factor the default CIS entry handling out.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/char/pcmcia')
-rw-r--r-- | drivers/char/pcmcia/cm4000_cs.c | 1 | ||||
-rw-r--r-- | drivers/char/pcmcia/cm4040_cs.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/pcmcia/cm4000_cs.c b/drivers/char/pcmcia/cm4000_cs.c index 7eafd2f4dbb9..7785fbb4c0f6 100644 --- a/drivers/char/pcmcia/cm4000_cs.c +++ b/drivers/char/pcmcia/cm4000_cs.c | |||
@@ -1761,6 +1761,7 @@ static void cmm_cm4000_release(struct pcmcia_device * link) | |||
1761 | 1761 | ||
1762 | static int cm4000_config_check(struct pcmcia_device *p_dev, | 1762 | static int cm4000_config_check(struct pcmcia_device *p_dev, |
1763 | cistpl_cftable_entry_t *cfg, | 1763 | cistpl_cftable_entry_t *cfg, |
1764 | cistpl_cftable_entry_t *dflt, | ||
1764 | void *priv_data) | 1765 | void *priv_data) |
1765 | { | 1766 | { |
1766 | if (!cfg->io.nwin) | 1767 | if (!cfg->io.nwin) |
diff --git a/drivers/char/pcmcia/cm4040_cs.c b/drivers/char/pcmcia/cm4040_cs.c index 71ca8c474c89..468ddef916b3 100644 --- a/drivers/char/pcmcia/cm4040_cs.c +++ b/drivers/char/pcmcia/cm4040_cs.c | |||
@@ -528,6 +528,7 @@ static void cm4040_reader_release(struct pcmcia_device *link) | |||
528 | 528 | ||
529 | static int cm4040_config_check(struct pcmcia_device *p_dev, | 529 | static int cm4040_config_check(struct pcmcia_device *p_dev, |
530 | cistpl_cftable_entry_t *cfg, | 530 | cistpl_cftable_entry_t *cfg, |
531 | cistpl_cftable_entry_t *dflt, | ||
531 | void *priv_data) | 532 | void *priv_data) |
532 | { | 533 | { |
533 | int rc; | 534 | int rc; |