diff options
Diffstat (limited to 'drivers/net/wireless/wl3501_cs.c')
-rw-r--r-- | drivers/net/wireless/wl3501_cs.c | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c index 77d8ac858036..7cc5edbf6ede 100644 --- a/drivers/net/wireless/wl3501_cs.c +++ b/drivers/net/wireless/wl3501_cs.c | |||
@@ -49,7 +49,6 @@ | |||
49 | 49 | ||
50 | #include <net/iw_handler.h> | 50 | #include <net/iw_handler.h> |
51 | 51 | ||
52 | #include <pcmcia/version.h> | ||
53 | #include <pcmcia/cs_types.h> | 52 | #include <pcmcia/cs_types.h> |
54 | #include <pcmcia/cs.h> | 53 | #include <pcmcia/cs.h> |
55 | #include <pcmcia/cistpl.h> | 54 | #include <pcmcia/cistpl.h> |
@@ -2006,13 +2005,6 @@ static dev_link_t *wl3501_attach(void) | |||
2006 | link->next = wl3501_dev_list; | 2005 | link->next = wl3501_dev_list; |
2007 | wl3501_dev_list = link; | 2006 | wl3501_dev_list = link; |
2008 | client_reg.dev_info = &wl3501_dev_info; | 2007 | client_reg.dev_info = &wl3501_dev_info; |
2009 | client_reg.EventMask = CS_EVENT_CARD_INSERTION | | ||
2010 | CS_EVENT_RESET_PHYSICAL | | ||
2011 | CS_EVENT_CARD_RESET | | ||
2012 | CS_EVENT_CARD_REMOVAL | | ||
2013 | CS_EVENT_PM_SUSPEND | | ||
2014 | CS_EVENT_PM_RESUME; | ||
2015 | client_reg.event_handler = wl3501_event; | ||
2016 | client_reg.Version = 0x0210; | 2008 | client_reg.Version = 0x0210; |
2017 | client_reg.event_callback_args.client_data = link; | 2009 | client_reg.event_callback_args.client_data = link; |
2018 | ret = pcmcia_register_client(&link->handle, &client_reg); | 2010 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -2247,12 +2239,13 @@ static struct pcmcia_device_id wl3501_ids[] = { | |||
2247 | MODULE_DEVICE_TABLE(pcmcia, wl3501_ids); | 2239 | MODULE_DEVICE_TABLE(pcmcia, wl3501_ids); |
2248 | 2240 | ||
2249 | static struct pcmcia_driver wl3501_driver = { | 2241 | static struct pcmcia_driver wl3501_driver = { |
2250 | .owner = THIS_MODULE, | 2242 | .owner = THIS_MODULE, |
2251 | .drv = { | 2243 | .drv = { |
2252 | .name = "wl3501_cs", | 2244 | .name = "wl3501_cs", |
2253 | }, | 2245 | }, |
2254 | .attach = wl3501_attach, | 2246 | .attach = wl3501_attach, |
2255 | .detach = wl3501_detach, | 2247 | .event = wl3501_event, |
2248 | .detach = wl3501_detach, | ||
2256 | .id_table = wl3501_ids, | 2249 | .id_table = wl3501_ids, |
2257 | }; | 2250 | }; |
2258 | 2251 | ||