diff options
Diffstat (limited to 'drivers/net/wireless/netwave_cs.c')
-rw-r--r-- | drivers/net/wireless/netwave_cs.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/wireless/netwave_cs.c b/drivers/net/wireless/netwave_cs.c index e12bd75b2694..5f507c49907b 100644 --- a/drivers/net/wireless/netwave_cs.c +++ b/drivers/net/wireless/netwave_cs.c | |||
@@ -62,7 +62,6 @@ | |||
62 | #endif /* WIRELESS_EXT > 12 */ | 62 | #endif /* WIRELESS_EXT > 12 */ |
63 | #endif | 63 | #endif |
64 | 64 | ||
65 | #include <pcmcia/version.h> | ||
66 | #include <pcmcia/cs_types.h> | 65 | #include <pcmcia/cs_types.h> |
67 | #include <pcmcia/cs.h> | 66 | #include <pcmcia/cs.h> |
68 | #include <pcmcia/cistpl.h> | 67 | #include <pcmcia/cistpl.h> |
@@ -491,11 +490,6 @@ static dev_link_t *netwave_attach(void) | |||
491 | link->next = dev_list; | 490 | link->next = dev_list; |
492 | dev_list = link; | 491 | dev_list = link; |
493 | client_reg.dev_info = &dev_info; | 492 | client_reg.dev_info = &dev_info; |
494 | client_reg.EventMask = | ||
495 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
496 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
497 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
498 | client_reg.event_handler = &netwave_event; | ||
499 | client_reg.Version = 0x0210; | 493 | client_reg.Version = 0x0210; |
500 | client_reg.event_callback_args.client_data = link; | 494 | client_reg.event_callback_args.client_data = link; |
501 | ret = pcmcia_register_client(&link->handle, &client_reg); | 495 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -1680,6 +1674,7 @@ static struct pcmcia_driver netwave_driver = { | |||
1680 | .name = "netwave_cs", | 1674 | .name = "netwave_cs", |
1681 | }, | 1675 | }, |
1682 | .attach = netwave_attach, | 1676 | .attach = netwave_attach, |
1677 | .event = netwave_event, | ||
1683 | .detach = netwave_detach, | 1678 | .detach = netwave_detach, |
1684 | .id_table = netwave_ids, | 1679 | .id_table = netwave_ids, |
1685 | }; | 1680 | }; |