diff options
Diffstat (limited to 'drivers/isdn/hardware/avm/avm_cs.c')
-rw-r--r-- | drivers/isdn/hardware/avm/avm_cs.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/isdn/hardware/avm/avm_cs.c b/drivers/isdn/hardware/avm/avm_cs.c index ee750e9456d..db9bad2b3d1 100644 --- a/drivers/isdn/hardware/avm/avm_cs.c +++ b/drivers/isdn/hardware/avm/avm_cs.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <asm/io.h> | 22 | #include <asm/io.h> |
23 | #include <asm/system.h> | 23 | #include <asm/system.h> |
24 | 24 | ||
25 | #include <pcmcia/version.h> | ||
26 | #include <pcmcia/cs_types.h> | 25 | #include <pcmcia/cs_types.h> |
27 | #include <pcmcia/cs.h> | 26 | #include <pcmcia/cs.h> |
28 | #include <pcmcia/cistpl.h> | 27 | #include <pcmcia/cistpl.h> |
@@ -161,11 +160,6 @@ static dev_link_t *avmcs_attach(void) | |||
161 | link->next = dev_list; | 160 | link->next = dev_list; |
162 | dev_list = link; | 161 | dev_list = link; |
163 | client_reg.dev_info = &dev_info; | 162 | client_reg.dev_info = &dev_info; |
164 | client_reg.EventMask = | ||
165 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
166 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
167 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
168 | client_reg.event_handler = &avmcs_event; | ||
169 | client_reg.Version = 0x0210; | 163 | client_reg.Version = 0x0210; |
170 | client_reg.event_callback_args.client_data = link; | 164 | client_reg.event_callback_args.client_data = link; |
171 | ret = pcmcia_register_client(&link->handle, &client_reg); | 165 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -500,6 +494,7 @@ static struct pcmcia_driver avmcs_driver = { | |||
500 | .name = "avm_cs", | 494 | .name = "avm_cs", |
501 | }, | 495 | }, |
502 | .attach = avmcs_attach, | 496 | .attach = avmcs_attach, |
497 | .event = avmcs_event, | ||
503 | .detach = avmcs_detach, | 498 | .detach = avmcs_detach, |
504 | .id_table = avmcs_ids, | 499 | .id_table = avmcs_ids, |
505 | }; | 500 | }; |