diff options
Diffstat (limited to 'drivers/char/pcmcia/synclink_cs.c')
-rw-r--r-- | drivers/char/pcmcia/synclink_cs.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/char/pcmcia/synclink_cs.c b/drivers/char/pcmcia/synclink_cs.c index 8f36b1758eb6..7a0c74648124 100644 --- a/drivers/char/pcmcia/synclink_cs.c +++ b/drivers/char/pcmcia/synclink_cs.c | |||
@@ -71,7 +71,6 @@ | |||
71 | #include <linux/workqueue.h> | 71 | #include <linux/workqueue.h> |
72 | #include <linux/hdlc.h> | 72 | #include <linux/hdlc.h> |
73 | 73 | ||
74 | #include <pcmcia/version.h> | ||
75 | #include <pcmcia/cs_types.h> | 74 | #include <pcmcia/cs_types.h> |
76 | #include <pcmcia/cs.h> | 75 | #include <pcmcia/cs.h> |
77 | #include <pcmcia/cistpl.h> | 76 | #include <pcmcia/cistpl.h> |
@@ -593,11 +592,6 @@ static dev_link_t *mgslpc_attach(void) | |||
593 | dev_list = link; | 592 | dev_list = link; |
594 | 593 | ||
595 | client_reg.dev_info = &dev_info; | 594 | client_reg.dev_info = &dev_info; |
596 | client_reg.EventMask = | ||
597 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
598 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
599 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
600 | client_reg.event_handler = &mgslpc_event; | ||
601 | client_reg.Version = 0x0210; | 595 | client_reg.Version = 0x0210; |
602 | client_reg.event_callback_args.client_data = link; | 596 | client_reg.event_callback_args.client_data = link; |
603 | 597 | ||
@@ -3093,6 +3087,7 @@ static struct pcmcia_driver mgslpc_driver = { | |||
3093 | .name = "synclink_cs", | 3087 | .name = "synclink_cs", |
3094 | }, | 3088 | }, |
3095 | .attach = mgslpc_attach, | 3089 | .attach = mgslpc_attach, |
3090 | .event = mgslpc_event, | ||
3096 | .detach = mgslpc_detach, | 3091 | .detach = mgslpc_detach, |
3097 | .id_table = mgslpc_ids, | 3092 | .id_table = mgslpc_ids, |
3098 | }; | 3093 | }; |