diff options
Diffstat (limited to 'drivers/net/pcmcia/3c589_cs.c')
-rw-r--r-- | drivers/net/pcmcia/3c589_cs.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/pcmcia/3c589_cs.c b/drivers/net/pcmcia/3c589_cs.c index 8fa1b5f0fb68..d83fdd8c1943 100644 --- a/drivers/net/pcmcia/3c589_cs.c +++ b/drivers/net/pcmcia/3c589_cs.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include <linux/ioport.h> | 40 | #include <linux/ioport.h> |
41 | #include <linux/bitops.h> | 41 | #include <linux/bitops.h> |
42 | 42 | ||
43 | #include <pcmcia/version.h> | ||
44 | #include <pcmcia/cs_types.h> | 43 | #include <pcmcia/cs_types.h> |
45 | #include <pcmcia/cs.h> | 44 | #include <pcmcia/cs.h> |
46 | #include <pcmcia/cistpl.h> | 45 | #include <pcmcia/cistpl.h> |
@@ -226,11 +225,6 @@ static dev_link_t *tc589_attach(void) | |||
226 | link->next = dev_list; | 225 | link->next = dev_list; |
227 | dev_list = link; | 226 | dev_list = link; |
228 | client_reg.dev_info = &dev_info; | 227 | client_reg.dev_info = &dev_info; |
229 | client_reg.EventMask = | ||
230 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
231 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
232 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
233 | client_reg.event_handler = &tc589_event; | ||
234 | client_reg.Version = 0x0210; | 228 | client_reg.Version = 0x0210; |
235 | client_reg.event_callback_args.client_data = link; | 229 | client_reg.event_callback_args.client_data = link; |
236 | ret = pcmcia_register_client(&link->handle, &client_reg); | 230 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -1074,6 +1068,7 @@ static struct pcmcia_driver tc589_driver = { | |||
1074 | .name = "3c589_cs", | 1068 | .name = "3c589_cs", |
1075 | }, | 1069 | }, |
1076 | .attach = tc589_attach, | 1070 | .attach = tc589_attach, |
1071 | .event = tc589_event, | ||
1077 | .detach = tc589_detach, | 1072 | .detach = tc589_detach, |
1078 | .id_table = tc589_ids, | 1073 | .id_table = tc589_ids, |
1079 | }; | 1074 | }; |