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 e3a900482d92..dd902126d018 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> |
@@ -2005,13 +2004,6 @@ static dev_link_t *wl3501_attach(void) | |||
2005 | link->next = wl3501_dev_list; | 2004 | link->next = wl3501_dev_list; |
2006 | wl3501_dev_list = link; | 2005 | wl3501_dev_list = link; |
2007 | client_reg.dev_info = &wl3501_dev_info; | 2006 | client_reg.dev_info = &wl3501_dev_info; |
2008 | client_reg.EventMask = CS_EVENT_CARD_INSERTION | | ||
2009 | CS_EVENT_RESET_PHYSICAL | | ||
2010 | CS_EVENT_CARD_RESET | | ||
2011 | CS_EVENT_CARD_REMOVAL | | ||
2012 | CS_EVENT_PM_SUSPEND | | ||
2013 | CS_EVENT_PM_RESUME; | ||
2014 | client_reg.event_handler = wl3501_event; | ||
2015 | client_reg.Version = 0x0210; | 2007 | client_reg.Version = 0x0210; |
2016 | client_reg.event_callback_args.client_data = link; | 2008 | client_reg.event_callback_args.client_data = link; |
2017 | ret = pcmcia_register_client(&link->handle, &client_reg); | 2009 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -2246,12 +2238,13 @@ static struct pcmcia_device_id wl3501_ids[] = { | |||
2246 | MODULE_DEVICE_TABLE(pcmcia, wl3501_ids); | 2238 | MODULE_DEVICE_TABLE(pcmcia, wl3501_ids); |
2247 | 2239 | ||
2248 | static struct pcmcia_driver wl3501_driver = { | 2240 | static struct pcmcia_driver wl3501_driver = { |
2249 | .owner = THIS_MODULE, | 2241 | .owner = THIS_MODULE, |
2250 | .drv = { | 2242 | .drv = { |
2251 | .name = "wl3501_cs", | 2243 | .name = "wl3501_cs", |
2252 | }, | 2244 | }, |
2253 | .attach = wl3501_attach, | 2245 | .attach = wl3501_attach, |
2254 | .detach = wl3501_detach, | 2246 | .event = wl3501_event, |
2247 | .detach = wl3501_detach, | ||
2255 | .id_table = wl3501_ids, | 2248 | .id_table = wl3501_ids, |
2256 | }; | 2249 | }; |
2257 | 2250 | ||