Commit 77b73f9b authored by Dominik Brodowski's avatar Dominik Brodowski Committed by Linus Torvalds

[PATCH] pcmcia: id_table for wl3501_cs.c

Add pcmcia_device_id table.
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 70799734
...@@ -2239,6 +2239,12 @@ static int wl3501_event(event_t event, int pri, event_callback_args_t *args) ...@@ -2239,6 +2239,12 @@ static int wl3501_event(event_t event, int pri, event_callback_args_t *args)
return 0; return 0;
} }
static struct pcmcia_device_id wl3501_ids[] = {
PCMCIA_DEVICE_MANF_CARD(0xd601, 0x0001),
PCMCIA_DEVICE_NULL
};
MODULE_DEVICE_TABLE(pcmcia, wl3501_ids);
static struct pcmcia_driver wl3501_driver = { static struct pcmcia_driver wl3501_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.drv = { .drv = {
...@@ -2246,6 +2252,7 @@ static struct pcmcia_driver wl3501_driver = { ...@@ -2246,6 +2252,7 @@ static struct pcmcia_driver wl3501_driver = {
}, },
.attach = wl3501_attach, .attach = wl3501_attach,
.detach = wl3501_detach, .detach = wl3501_detach,
.id_table = wl3501_ids,
}; };
static int __init wl3501_init_module(void) static int __init wl3501_init_module(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment