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/net/pcmcia/xirc2ps_cs.c | |
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/net/pcmcia/xirc2ps_cs.c')
-rw-r--r-- | drivers/net/pcmcia/xirc2ps_cs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/pcmcia/xirc2ps_cs.c b/drivers/net/pcmcia/xirc2ps_cs.c index b0de704f229c..a16efa49b855 100644 --- a/drivers/net/pcmcia/xirc2ps_cs.c +++ b/drivers/net/pcmcia/xirc2ps_cs.c | |||
@@ -718,6 +718,7 @@ has_ce2_string(struct pcmcia_device * p_dev) | |||
718 | static int | 718 | static int |
719 | xirc2ps_config_modem(struct pcmcia_device *p_dev, | 719 | xirc2ps_config_modem(struct pcmcia_device *p_dev, |
720 | cistpl_cftable_entry_t *cf, | 720 | cistpl_cftable_entry_t *cf, |
721 | cistpl_cftable_entry_t *dflt, | ||
721 | void *priv_data) | 722 | void *priv_data) |
722 | { | 723 | { |
723 | unsigned int ioaddr; | 724 | unsigned int ioaddr; |
@@ -736,6 +737,7 @@ xirc2ps_config_modem(struct pcmcia_device *p_dev, | |||
736 | static int | 737 | static int |
737 | xirc2ps_config_check(struct pcmcia_device *p_dev, | 738 | xirc2ps_config_check(struct pcmcia_device *p_dev, |
738 | cistpl_cftable_entry_t *cf, | 739 | cistpl_cftable_entry_t *cf, |
740 | cistpl_cftable_entry_t *dflt, | ||
739 | void *priv_data) | 741 | void *priv_data) |
740 | { | 742 | { |
741 | int *pass = priv_data; | 743 | int *pass = priv_data; |