diff options
Diffstat (limited to 'drivers/net/wireless/airo_cs.c')
-rw-r--r-- | drivers/net/wireless/airo_cs.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/wireless/airo_cs.c b/drivers/net/wireless/airo_cs.c index f10a9523034a..fd46393e743e 100644 --- a/drivers/net/wireless/airo_cs.c +++ b/drivers/net/wireless/airo_cs.c | |||
@@ -210,11 +210,6 @@ static dev_link_t *airo_attach(void) | |||
210 | link->next = dev_list; | 210 | link->next = dev_list; |
211 | dev_list = link; | 211 | dev_list = link; |
212 | client_reg.dev_info = &dev_info; | 212 | client_reg.dev_info = &dev_info; |
213 | client_reg.EventMask = | ||
214 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
215 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
216 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
217 | client_reg.event_handler = &airo_event; | ||
218 | client_reg.Version = 0x0210; | 213 | client_reg.Version = 0x0210; |
219 | client_reg.event_callback_args.client_data = link; | 214 | client_reg.event_callback_args.client_data = link; |
220 | ret = pcmcia_register_client(&link->handle, &client_reg); | 215 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -574,6 +569,7 @@ static struct pcmcia_driver airo_driver = { | |||
574 | .name = "airo_cs", | 569 | .name = "airo_cs", |
575 | }, | 570 | }, |
576 | .attach = airo_attach, | 571 | .attach = airo_attach, |
572 | .event = airo_event, | ||
577 | .detach = airo_detach, | 573 | .detach = airo_detach, |
578 | .id_table = airo_ids, | 574 | .id_table = airo_ids, |
579 | }; | 575 | }; |