diff options
Diffstat (limited to 'drivers/net/wireless/ray_cs.c')
-rw-r--r-- | drivers/net/wireless/ray_cs.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c index 31652af52eac..0643b1b94a39 100644 --- a/drivers/net/wireless/ray_cs.c +++ b/drivers/net/wireless/ray_cs.c | |||
@@ -393,11 +393,6 @@ static dev_link_t *ray_attach(void) | |||
393 | link->next = dev_list; | 393 | link->next = dev_list; |
394 | dev_list = link; | 394 | dev_list = link; |
395 | client_reg.dev_info = &dev_info; | 395 | client_reg.dev_info = &dev_info; |
396 | client_reg.EventMask = | ||
397 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
398 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
399 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
400 | client_reg.event_handler = &ray_event; | ||
401 | client_reg.Version = 0x0210; | 396 | client_reg.Version = 0x0210; |
402 | client_reg.event_callback_args.client_data = link; | 397 | client_reg.event_callback_args.client_data = link; |
403 | 398 | ||
@@ -2916,6 +2911,7 @@ static struct pcmcia_driver ray_driver = { | |||
2916 | .name = "ray_cs", | 2911 | .name = "ray_cs", |
2917 | }, | 2912 | }, |
2918 | .attach = ray_attach, | 2913 | .attach = ray_attach, |
2914 | .event = ray_event, | ||
2919 | .detach = ray_detach, | 2915 | .detach = ray_detach, |
2920 | .id_table = ray_ids, | 2916 | .id_table = ray_ids, |
2921 | }; | 2917 | }; |