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/bluetooth/btuart_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/bluetooth/btuart_cs.c')
-rw-r--r-- | drivers/bluetooth/btuart_cs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bluetooth/btuart_cs.c b/drivers/bluetooth/btuart_cs.c index 5e31ea2f2d6f..32017f96067c 100644 --- a/drivers/bluetooth/btuart_cs.c +++ b/drivers/bluetooth/btuart_cs.c | |||
@@ -609,6 +609,7 @@ static void btuart_detach(struct pcmcia_device *link) | |||
609 | 609 | ||
610 | static int btuart_check_config(struct pcmcia_device *p_dev, | 610 | static int btuart_check_config(struct pcmcia_device *p_dev, |
611 | cistpl_cftable_entry_t *cf, | 611 | cistpl_cftable_entry_t *cf, |
612 | cistpl_cftable_entry_t *dflt, | ||
612 | void *priv_data) | 613 | void *priv_data) |
613 | { | 614 | { |
614 | unsigned long try = (unsigned long) priv_data; | 615 | unsigned long try = (unsigned long) priv_data; |
@@ -628,6 +629,7 @@ static int btuart_check_config(struct pcmcia_device *p_dev, | |||
628 | 629 | ||
629 | static int btuart_check_config_notpicky(struct pcmcia_device *p_dev, | 630 | static int btuart_check_config_notpicky(struct pcmcia_device *p_dev, |
630 | cistpl_cftable_entry_t *cf, | 631 | cistpl_cftable_entry_t *cf, |
632 | cistpl_cftable_entry_t *dflt, | ||
631 | void *priv_data) | 633 | void *priv_data) |
632 | { | 634 | { |
633 | static unsigned int base[5] = { 0x3f8, 0x2f8, 0x3e8, 0x2e8, 0x0 }; | 635 | static unsigned int base[5] = { 0x3f8, 0x2f8, 0x3e8, 0x2e8, 0x0 }; |