diff options
Diffstat (limited to 'drivers/bluetooth/bluecard_cs.c')
-rw-r--r-- | drivers/bluetooth/bluecard_cs.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/bluetooth/bluecard_cs.c b/drivers/bluetooth/bluecard_cs.c index 5ef9adb9fe73..bd2ec7e284cc 100644 --- a/drivers/bluetooth/bluecard_cs.c +++ b/drivers/bluetooth/bluecard_cs.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include <linux/skbuff.h> | 40 | #include <linux/skbuff.h> |
41 | #include <asm/io.h> | 41 | #include <asm/io.h> |
42 | 42 | ||
43 | #include <pcmcia/version.h> | ||
44 | #include <pcmcia/cs_types.h> | 43 | #include <pcmcia/cs_types.h> |
45 | #include <pcmcia/cs.h> | 44 | #include <pcmcia/cs.h> |
46 | #include <pcmcia/cistpl.h> | 45 | #include <pcmcia/cistpl.h> |
@@ -895,11 +894,6 @@ static dev_link_t *bluecard_attach(void) | |||
895 | link->next = dev_list; | 894 | link->next = dev_list; |
896 | dev_list = link; | 895 | dev_list = link; |
897 | client_reg.dev_info = &dev_info; | 896 | client_reg.dev_info = &dev_info; |
898 | client_reg.EventMask = | ||
899 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
900 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
901 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
902 | client_reg.event_handler = &bluecard_event; | ||
903 | client_reg.Version = 0x0210; | 897 | client_reg.Version = 0x0210; |
904 | client_reg.event_callback_args.client_data = link; | 898 | client_reg.event_callback_args.client_data = link; |
905 | 899 | ||
@@ -1103,6 +1097,7 @@ static struct pcmcia_driver bluecard_driver = { | |||
1103 | .name = "bluecard_cs", | 1097 | .name = "bluecard_cs", |
1104 | }, | 1098 | }, |
1105 | .attach = bluecard_attach, | 1099 | .attach = bluecard_attach, |
1100 | .event = bluecard_event, | ||
1106 | .detach = bluecard_detach, | 1101 | .detach = bluecard_detach, |
1107 | .id_table = bluecard_ids, | 1102 | .id_table = bluecard_ids, |
1108 | }; | 1103 | }; |