diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2005-06-27 19:28:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-27 21:03:16 -0400 |
commit | 77b73f9b00e3bea43ab4d30ae70fb85660dd07f1 (patch) | |
tree | 4b8854d5c8a86d007416cfb4beadbe9c9f705a7b /drivers | |
parent | 707997343a1e5193fff74798af572a4d03740476 (diff) |
[PATCH] pcmcia: id_table for wl3501_cs.c
Add pcmcia_device_id table.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/wl3501_cs.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c index 1433e5aaf1b4..e3a900482d92 100644 --- a/drivers/net/wireless/wl3501_cs.c +++ b/drivers/net/wireless/wl3501_cs.c | |||
@@ -2239,6 +2239,12 @@ static int wl3501_event(event_t event, int pri, event_callback_args_t *args) | |||
2239 | return 0; | 2239 | return 0; |
2240 | } | 2240 | } |
2241 | 2241 | ||
2242 | static struct pcmcia_device_id wl3501_ids[] = { | ||
2243 | PCMCIA_DEVICE_MANF_CARD(0xd601, 0x0001), | ||
2244 | PCMCIA_DEVICE_NULL | ||
2245 | }; | ||
2246 | MODULE_DEVICE_TABLE(pcmcia, wl3501_ids); | ||
2247 | |||
2242 | static struct pcmcia_driver wl3501_driver = { | 2248 | static struct pcmcia_driver wl3501_driver = { |
2243 | .owner = THIS_MODULE, | 2249 | .owner = THIS_MODULE, |
2244 | .drv = { | 2250 | .drv = { |
@@ -2246,6 +2252,7 @@ static struct pcmcia_driver wl3501_driver = { | |||
2246 | }, | 2252 | }, |
2247 | .attach = wl3501_attach, | 2253 | .attach = wl3501_attach, |
2248 | .detach = wl3501_detach, | 2254 | .detach = wl3501_detach, |
2255 | .id_table = wl3501_ids, | ||
2249 | }; | 2256 | }; |
2250 | 2257 | ||
2251 | static int __init wl3501_init_module(void) | 2258 | static int __init wl3501_init_module(void) |