diff options
Diffstat (limited to 'drivers/scsi/pcmcia/sym53c500_cs.c')
-rw-r--r-- | drivers/scsi/pcmcia/sym53c500_cs.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/scsi/pcmcia/sym53c500_cs.c b/drivers/scsi/pcmcia/sym53c500_cs.c index 7d4b16b6797d..b4b3a1a8a0c7 100644 --- a/drivers/scsi/pcmcia/sym53c500_cs.c +++ b/drivers/scsi/pcmcia/sym53c500_cs.c | |||
@@ -979,10 +979,6 @@ SYM53C500_attach(void) | |||
979 | link->next = dev_list; | 979 | link->next = dev_list; |
980 | dev_list = link; | 980 | dev_list = link; |
981 | client_reg.dev_info = &dev_info; | 981 | client_reg.dev_info = &dev_info; |
982 | client_reg.event_handler = &SYM53C500_event; | ||
983 | client_reg.EventMask = CS_EVENT_RESET_REQUEST | CS_EVENT_CARD_RESET | | ||
984 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
985 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
986 | client_reg.Version = 0x0210; | 982 | client_reg.Version = 0x0210; |
987 | client_reg.event_callback_args.client_data = link; | 983 | client_reg.event_callback_args.client_data = link; |
988 | ret = pcmcia_register_client(&link->handle, &client_reg); | 984 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -1013,6 +1009,7 @@ static struct pcmcia_driver sym53c500_cs_driver = { | |||
1013 | .name = "sym53c500_cs", | 1009 | .name = "sym53c500_cs", |
1014 | }, | 1010 | }, |
1015 | .attach = SYM53C500_attach, | 1011 | .attach = SYM53C500_attach, |
1012 | .event = SYM53C500_event, | ||
1016 | .detach = SYM53C500_detach, | 1013 | .detach = SYM53C500_detach, |
1017 | .id_table = sym53c500_ids, | 1014 | .id_table = sym53c500_ids, |
1018 | }; | 1015 | }; |