diff options
Diffstat (limited to 'drivers/isdn/hisax/elsa_cs.c')
-rw-r--r-- | drivers/isdn/hisax/elsa_cs.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/isdn/hisax/elsa_cs.c b/drivers/isdn/hisax/elsa_cs.c index 9146be547044..6fc6868de0b0 100644 --- a/drivers/isdn/hisax/elsa_cs.c +++ b/drivers/isdn/hisax/elsa_cs.c | |||
@@ -47,7 +47,6 @@ | |||
47 | #include <asm/io.h> | 47 | #include <asm/io.h> |
48 | #include <asm/system.h> | 48 | #include <asm/system.h> |
49 | 49 | ||
50 | #include <pcmcia/version.h> | ||
51 | #include <pcmcia/cs_types.h> | 50 | #include <pcmcia/cs_types.h> |
52 | #include <pcmcia/cs.h> | 51 | #include <pcmcia/cs.h> |
53 | #include <pcmcia/cistpl.h> | 52 | #include <pcmcia/cistpl.h> |
@@ -212,11 +211,6 @@ static dev_link_t *elsa_cs_attach(void) | |||
212 | link->next = dev_list; | 211 | link->next = dev_list; |
213 | dev_list = link; | 212 | dev_list = link; |
214 | client_reg.dev_info = &dev_info; | 213 | client_reg.dev_info = &dev_info; |
215 | client_reg.EventMask = | ||
216 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
217 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
218 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
219 | client_reg.event_handler = &elsa_cs_event; | ||
220 | client_reg.Version = 0x0210; | 214 | client_reg.Version = 0x0210; |
221 | client_reg.event_callback_args.client_data = link; | 215 | client_reg.event_callback_args.client_data = link; |
222 | ret = pcmcia_register_client(&link->handle, &client_reg); | 216 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -521,6 +515,7 @@ static struct pcmcia_driver elsa_cs_driver = { | |||
521 | .name = "elsa_cs", | 515 | .name = "elsa_cs", |
522 | }, | 516 | }, |
523 | .attach = elsa_cs_attach, | 517 | .attach = elsa_cs_attach, |
518 | .event = elsa_cs_event, | ||
524 | .detach = elsa_cs_detach, | 519 | .detach = elsa_cs_detach, |
525 | .id_table = elsa_ids, | 520 | .id_table = elsa_ids, |
526 | }; | 521 | }; |