aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pcmcia/fdomain_stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/pcmcia/fdomain_stub.c')
-rw-r--r--drivers/scsi/pcmcia/fdomain_stub.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/scsi/pcmcia/fdomain_stub.c b/drivers/scsi/pcmcia/fdomain_stub.c
index 853e6ee9b71a..db8f5cd85ffe 100644
--- a/drivers/scsi/pcmcia/fdomain_stub.c
+++ b/drivers/scsi/pcmcia/fdomain_stub.c
@@ -47,7 +47,6 @@
47#include <scsi/scsi_host.h> 47#include <scsi/scsi_host.h>
48#include "fdomain.h" 48#include "fdomain.h"
49 49
50#include <pcmcia/version.h>
51#include <pcmcia/cs_types.h> 50#include <pcmcia/cs_types.h>
52#include <pcmcia/cs.h> 51#include <pcmcia/cs.h>
53#include <pcmcia/cistpl.h> 52#include <pcmcia/cistpl.h>
@@ -120,11 +119,6 @@ static dev_link_t *fdomain_attach(void)
120 link->next = dev_list; 119 link->next = dev_list;
121 dev_list = link; 120 dev_list = link;
122 client_reg.dev_info = &dev_info; 121 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; 122 client_reg.Version = 0x0210;
129 client_reg.event_callback_args.client_data = link; 123 client_reg.event_callback_args.client_data = link;
130 ret = pcmcia_register_client(&link->handle, &client_reg); 124 ret = pcmcia_register_client(&link->handle, &client_reg);
@@ -314,6 +308,7 @@ static struct pcmcia_driver fdomain_cs_driver = {
314 .name = "fdomain_cs", 308 .name = "fdomain_cs",
315 }, 309 },
316 .attach = fdomain_attach, 310 .attach = fdomain_attach,
311 .event = fdomain_event,
317 .detach = fdomain_detach, 312 .detach = fdomain_detach,
318 .id_table = fdomain_ids, 313 .id_table = fdomain_ids,
319}; 314};