aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/bluecard_cs.c5
-rw-r--r--drivers/bluetooth/bt3c_cs.c5
-rw-r--r--drivers/bluetooth/btuart_cs.c5
-rw-r--r--drivers/bluetooth/dtl1_cs.c5
4 files changed, 8 insertions, 12 deletions
diff --git a/drivers/bluetooth/bluecard_cs.c b/drivers/bluetooth/bluecard_cs.c
index 08f4818ad9f7..c9dd5b789d25 100644
--- a/drivers/bluetooth/bluecard_cs.c
+++ b/drivers/bluetooth/bluecard_cs.c
@@ -39,7 +39,6 @@
39#include <linux/skbuff.h> 39#include <linux/skbuff.h>
40#include <linux/io.h> 40#include <linux/io.h>
41 41
42#include <pcmcia/cs.h>
43#include <pcmcia/cistpl.h> 42#include <pcmcia/cistpl.h>
44#include <pcmcia/ciscode.h> 43#include <pcmcia/ciscode.h>
45#include <pcmcia/ds.h> 44#include <pcmcia/ds.h>
@@ -865,7 +864,7 @@ static int bluecard_probe(struct pcmcia_device *link)
865 info->p_dev = link; 864 info->p_dev = link;
866 link->priv = info; 865 link->priv = info;
867 866
868 link->conf.Attributes = CONF_ENABLE_IRQ; 867 link->config_flags |= CONF_ENABLE_IRQ;
869 868
870 return bluecard_config(link); 869 return bluecard_config(link);
871} 870}
@@ -905,7 +904,7 @@ static int bluecard_config(struct pcmcia_device *link)
905 if (i != 0) 904 if (i != 0)
906 goto failed; 905 goto failed;
907 906
908 i = pcmcia_request_configuration(link, &link->conf); 907 i = pcmcia_enable_device(link);
909 if (i != 0) 908 if (i != 0)
910 goto failed; 909 goto failed;
911 910
diff --git a/drivers/bluetooth/bt3c_cs.c b/drivers/bluetooth/bt3c_cs.c
index fb018073a5f8..3db95887cfd7 100644
--- a/drivers/bluetooth/bt3c_cs.c
+++ b/drivers/bluetooth/bt3c_cs.c
@@ -45,7 +45,6 @@
45#include <linux/device.h> 45#include <linux/device.h>
46#include <linux/firmware.h> 46#include <linux/firmware.h>
47 47
48#include <pcmcia/cs.h>
49#include <pcmcia/cistpl.h> 48#include <pcmcia/cistpl.h>
50#include <pcmcia/ciscode.h> 49#include <pcmcia/ciscode.h>
51#include <pcmcia/ds.h> 50#include <pcmcia/ds.h>
@@ -660,7 +659,7 @@ static int bt3c_probe(struct pcmcia_device *link)
660 link->resource[0]->flags |= IO_DATA_PATH_WIDTH_8; 659 link->resource[0]->flags |= IO_DATA_PATH_WIDTH_8;
661 link->resource[0]->end = 8; 660 link->resource[0]->end = 8;
662 661
663 link->conf.Attributes = CONF_ENABLE_IRQ; 662 link->config_flags |= CONF_ENABLE_IRQ;
664 663
665 return bt3c_config(link); 664 return bt3c_config(link);
666} 665}
@@ -741,7 +740,7 @@ found_port:
741 if (i != 0) 740 if (i != 0)
742 goto failed; 741 goto failed;
743 742
744 i = pcmcia_request_configuration(link, &link->conf); 743 i = pcmcia_enable_device(link);
745 if (i != 0) 744 if (i != 0)
746 goto failed; 745 goto failed;
747 746
diff --git a/drivers/bluetooth/btuart_cs.c b/drivers/bluetooth/btuart_cs.c
index 897c7c74ca14..c5c43594ae0e 100644
--- a/drivers/bluetooth/btuart_cs.c
+++ b/drivers/bluetooth/btuart_cs.c
@@ -41,7 +41,6 @@
41#include <asm/system.h> 41#include <asm/system.h>
42#include <asm/io.h> 42#include <asm/io.h>
43 43
44#include <pcmcia/cs.h>
45#include <pcmcia/cistpl.h> 44#include <pcmcia/cistpl.h>
46#include <pcmcia/ciscode.h> 45#include <pcmcia/ciscode.h>
47#include <pcmcia/ds.h> 46#include <pcmcia/ds.h>
@@ -589,7 +588,7 @@ static int btuart_probe(struct pcmcia_device *link)
589 link->resource[0]->flags |= IO_DATA_PATH_WIDTH_8; 588 link->resource[0]->flags |= IO_DATA_PATH_WIDTH_8;
590 link->resource[0]->end = 8; 589 link->resource[0]->end = 8;
591 590
592 link->conf.Attributes = CONF_ENABLE_IRQ; 591 link->config_flags |= CONF_ENABLE_IRQ;
593 592
594 return btuart_config(link); 593 return btuart_config(link);
595} 594}
@@ -670,7 +669,7 @@ found_port:
670 if (i != 0) 669 if (i != 0)
671 goto failed; 670 goto failed;
672 671
673 i = pcmcia_request_configuration(link, &link->conf); 672 i = pcmcia_enable_device(link);
674 if (i != 0) 673 if (i != 0)
675 goto failed; 674 goto failed;
676 675
diff --git a/drivers/bluetooth/dtl1_cs.c b/drivers/bluetooth/dtl1_cs.c
index b4c9a2e0a96b..38206df7206b 100644
--- a/drivers/bluetooth/dtl1_cs.c
+++ b/drivers/bluetooth/dtl1_cs.c
@@ -41,7 +41,6 @@
41#include <asm/system.h> 41#include <asm/system.h>
42#include <asm/io.h> 42#include <asm/io.h>
43 43
44#include <pcmcia/cs.h>
45#include <pcmcia/cistpl.h> 44#include <pcmcia/cistpl.h>
46#include <pcmcia/ciscode.h> 45#include <pcmcia/ciscode.h>
47#include <pcmcia/ds.h> 46#include <pcmcia/ds.h>
@@ -575,7 +574,7 @@ static int dtl1_probe(struct pcmcia_device *link)
575 link->resource[0]->flags |= IO_DATA_PATH_WIDTH_8; 574 link->resource[0]->flags |= IO_DATA_PATH_WIDTH_8;
576 link->resource[0]->end = 8; 575 link->resource[0]->end = 8;
577 576
578 link->conf.Attributes = CONF_ENABLE_IRQ; 577 link->config_flags |= CONF_ENABLE_IRQ;
579 578
580 return dtl1_config(link); 579 return dtl1_config(link);
581} 580}
@@ -619,7 +618,7 @@ static int dtl1_config(struct pcmcia_device *link)
619 if (i != 0) 618 if (i != 0)
620 goto failed; 619 goto failed;
621 620
622 i = pcmcia_request_configuration(link, &link->conf); 621 i = pcmcia_enable_device(link);
623 if (i != 0) 622 if (i != 0)
624 goto failed; 623 goto failed;
625 624