diff options
Diffstat (limited to 'drivers/scsi/pcmcia/fdomain_stub.c')
-rw-r--r-- | drivers/scsi/pcmcia/fdomain_stub.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/scsi/pcmcia/fdomain_stub.c b/drivers/scsi/pcmcia/fdomain_stub.c index 853e6ee9b71a..d2281eba790d 100644 --- a/drivers/scsi/pcmcia/fdomain_stub.c +++ b/drivers/scsi/pcmcia/fdomain_stub.c | |||
@@ -120,11 +120,6 @@ static dev_link_t *fdomain_attach(void) | |||
120 | link->next = dev_list; | 120 | link->next = dev_list; |
121 | dev_list = link; | 121 | dev_list = link; |
122 | client_reg.dev_info = &dev_info; | 122 | client_reg.dev_info = &dev_info; |
123 | client_reg.event_handler = &fdomain_event; | ||
124 | client_reg.EventMask = | ||
125 | CS_EVENT_RESET_REQUEST | CS_EVENT_CARD_RESET | | ||
126 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
127 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
128 | client_reg.Version = 0x0210; | 123 | client_reg.Version = 0x0210; |
129 | client_reg.event_callback_args.client_data = link; | 124 | client_reg.event_callback_args.client_data = link; |
130 | ret = pcmcia_register_client(&link->handle, &client_reg); | 125 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -314,6 +309,7 @@ static struct pcmcia_driver fdomain_cs_driver = { | |||
314 | .name = "fdomain_cs", | 309 | .name = "fdomain_cs", |
315 | }, | 310 | }, |
316 | .attach = fdomain_attach, | 311 | .attach = fdomain_attach, |
312 | .event = fdomain_event, | ||
317 | .detach = fdomain_detach, | 313 | .detach = fdomain_detach, |
318 | .id_table = fdomain_ids, | 314 | .id_table = fdomain_ids, |
319 | }; | 315 | }; |