aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pcmcia/nsp_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/pcmcia/nsp_cs.c')
-rw-r--r--drivers/scsi/pcmcia/nsp_cs.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/drivers/scsi/pcmcia/nsp_cs.c b/drivers/scsi/pcmcia/nsp_cs.c
index 91b3f28e7a19..3cd3b40b1a4c 100644
--- a/drivers/scsi/pcmcia/nsp_cs.c
+++ b/drivers/scsi/pcmcia/nsp_cs.c
@@ -51,7 +51,6 @@
51#include <scsi/scsi.h> 51#include <scsi/scsi.h>
52#include <scsi/scsi_ioctl.h> 52#include <scsi/scsi_ioctl.h>
53 53
54#include <pcmcia/version.h>
55#include <pcmcia/cs_types.h> 54#include <pcmcia/cs_types.h>
56#include <pcmcia/cs.h> 55#include <pcmcia/cs.h>
57#include <pcmcia/cistpl.h> 56#include <pcmcia/cistpl.h>
@@ -1642,11 +1641,6 @@ static dev_link_t *nsp_cs_attach(void)
1642 link->next = dev_list; 1641 link->next = dev_list;
1643 dev_list = link; 1642 dev_list = link;
1644 client_reg.dev_info = &dev_info; 1643 client_reg.dev_info = &dev_info;
1645 client_reg.EventMask =
1646 CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL |
1647 CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET |
1648 CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME ;
1649 client_reg.event_handler = &nsp_cs_event;
1650 client_reg.Version = 0x0210; 1644 client_reg.Version = 0x0210;
1651 client_reg.event_callback_args.client_data = link; 1645 client_reg.event_callback_args.client_data = link;
1652 ret = pcmcia_register_client(&link->handle, &client_reg); 1646 ret = pcmcia_register_client(&link->handle, &client_reg);
@@ -2138,12 +2132,13 @@ static struct pcmcia_device_id nsp_cs_ids[] = {
2138MODULE_DEVICE_TABLE(pcmcia, nsp_cs_ids); 2132MODULE_DEVICE_TABLE(pcmcia, nsp_cs_ids);
2139 2133
2140static struct pcmcia_driver nsp_driver = { 2134static struct pcmcia_driver nsp_driver = {
2141 .owner = THIS_MODULE, 2135 .owner = THIS_MODULE,
2142 .drv = { 2136 .drv = {
2143 .name = "nsp_cs", 2137 .name = "nsp_cs",
2144 }, 2138 },
2145 .attach = nsp_cs_attach, 2139 .attach = nsp_cs_attach,
2146 .detach = nsp_cs_detach, 2140 .event = nsp_cs_event,
2141 .detach = nsp_cs_detach,
2147 .id_table = nsp_cs_ids, 2142 .id_table = nsp_cs_ids,
2148}; 2143};
2149#endif 2144#endif