diff options
Diffstat (limited to 'drivers/bluetooth/dtl1_cs.c')
-rw-r--r-- | drivers/bluetooth/dtl1_cs.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/bluetooth/dtl1_cs.c b/drivers/bluetooth/dtl1_cs.c index bb12f7daeb91..e39868c3da48 100644 --- a/drivers/bluetooth/dtl1_cs.c +++ b/drivers/bluetooth/dtl1_cs.c | |||
@@ -43,7 +43,6 @@ | |||
43 | #include <asm/system.h> | 43 | #include <asm/system.h> |
44 | #include <asm/io.h> | 44 | #include <asm/io.h> |
45 | 45 | ||
46 | #include <pcmcia/version.h> | ||
47 | #include <pcmcia/cs_types.h> | 46 | #include <pcmcia/cs_types.h> |
48 | #include <pcmcia/cs.h> | 47 | #include <pcmcia/cs.h> |
49 | #include <pcmcia/cistpl.h> | 48 | #include <pcmcia/cistpl.h> |
@@ -594,11 +593,6 @@ static dev_link_t *dtl1_attach(void) | |||
594 | link->next = dev_list; | 593 | link->next = dev_list; |
595 | dev_list = link; | 594 | dev_list = link; |
596 | client_reg.dev_info = &dev_info; | 595 | client_reg.dev_info = &dev_info; |
597 | client_reg.EventMask = | ||
598 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
599 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
600 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
601 | client_reg.event_handler = &dtl1_event; | ||
602 | client_reg.Version = 0x0210; | 596 | client_reg.Version = 0x0210; |
603 | client_reg.event_callback_args.client_data = link; | 597 | client_reg.event_callback_args.client_data = link; |
604 | 598 | ||
@@ -820,6 +814,7 @@ static struct pcmcia_driver dtl1_driver = { | |||
820 | .name = "dtl1_cs", | 814 | .name = "dtl1_cs", |
821 | }, | 815 | }, |
822 | .attach = dtl1_attach, | 816 | .attach = dtl1_attach, |
817 | .event = dtl1_event, | ||
823 | .detach = dtl1_detach, | 818 | .detach = dtl1_detach, |
824 | .id_table = dtl1_ids, | 819 | .id_table = dtl1_ids, |
825 | }; | 820 | }; |