Commit a4ed3598 authored by Dominik Brodowski's avatar Dominik Brodowski Committed by Linus Torvalds

[PATCH] pcmcia: id_table for pdaudiocf.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 77b73f9b
...@@ -380,13 +380,20 @@ static int pdacf_event(event_t event, int priority, event_callback_args_t *args) ...@@ -380,13 +380,20 @@ static int pdacf_event(event_t event, int priority, event_callback_args_t *args)
/* /*
* Module entry points * Module entry points
*/ */
static struct pcmcia_device_id snd_pdacf_ids[] = {
PCMCIA_DEVICE_MANF_CARD(0x015d, 0x4c45),
PCMCIA_DEVICE_NULL
};
MODULE_DEVICE_TABLE(pcmcia, snd_pdacf_ids);
static struct pcmcia_driver pdacf_cs_driver = { static struct pcmcia_driver pdacf_cs_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.drv = { .drv = {
.name = "snd-pdaudiocf", .name = "snd-pdaudiocf",
}, },
.attach = snd_pdacf_attach, .attach = snd_pdacf_attach,
.detach = snd_pdacf_detach .detach = snd_pdacf_detach,
.id_table = snd_pdacf_ids,
}; };
static int __init init_pdacf(void) static int __init init_pdacf(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