diff options
Diffstat (limited to 'drivers/bluetooth/btuart_cs.c')
-rw-r--r-- | drivers/bluetooth/btuart_cs.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/bluetooth/btuart_cs.c b/drivers/bluetooth/btuart_cs.c index c479484a1f7f..e4c59fdc0e12 100644 --- a/drivers/bluetooth/btuart_cs.c +++ b/drivers/bluetooth/btuart_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> |
@@ -615,11 +614,6 @@ static dev_link_t *btuart_attach(void) | |||
615 | link->next = dev_list; | 614 | link->next = dev_list; |
616 | dev_list = link; | 615 | dev_list = link; |
617 | client_reg.dev_info = &dev_info; | 616 | client_reg.dev_info = &dev_info; |
618 | client_reg.EventMask = | ||
619 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
620 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
621 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
622 | client_reg.event_handler = &btuart_event; | ||
623 | client_reg.Version = 0x0210; | 617 | client_reg.Version = 0x0210; |
624 | client_reg.event_callback_args.client_data = link; | 618 | client_reg.event_callback_args.client_data = link; |
625 | 619 | ||
@@ -867,6 +861,7 @@ static struct pcmcia_driver btuart_driver = { | |||
867 | .name = "btuart_cs", | 861 | .name = "btuart_cs", |
868 | }, | 862 | }, |
869 | .attach = btuart_attach, | 863 | .attach = btuart_attach, |
864 | .event = btuart_event, | ||
870 | .detach = btuart_detach, | 865 | .detach = btuart_detach, |
871 | .id_table = btuart_ids, | 866 | .id_table = btuart_ids, |
872 | }; | 867 | }; |