aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2005-06-27 19:28:42 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-27 21:03:17 -0400
commita4ed3598987845e8d45672899084df1f8448718c (patch)
treebaefb8aab467d45b113ee6959d878da44e71ea61 /sound
parent77b73f9b00e3bea43ab4d30ae70fb85660dd07f1 (diff)
[PATCH] pcmcia: id_table for pdaudiocf.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 'sound')
-rw-r--r--sound/pcmcia/pdaudiocf/pdaudiocf.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sound/pcmcia/pdaudiocf/pdaudiocf.c b/sound/pcmcia/pdaudiocf/pdaudiocf.c
index f72c81cc9952..2d4f8e28478b 100644
--- a/sound/pcmcia/pdaudiocf/pdaudiocf.c
+++ b/sound/pcmcia/pdaudiocf/pdaudiocf.c
@@ -380,13 +380,20 @@ static int pdacf_event(event_t event, int priority, event_callback_args_t *args)
380/* 380/*
381 * Module entry points 381 * Module entry points
382 */ 382 */
383static struct pcmcia_device_id snd_pdacf_ids[] = {
384 PCMCIA_DEVICE_MANF_CARD(0x015d, 0x4c45),
385 PCMCIA_DEVICE_NULL
386};
387MODULE_DEVICE_TABLE(pcmcia, snd_pdacf_ids);
388
383static struct pcmcia_driver pdacf_cs_driver = { 389static struct pcmcia_driver pdacf_cs_driver = {
384 .owner = THIS_MODULE, 390 .owner = THIS_MODULE,
385 .drv = { 391 .drv = {
386 .name = "snd-pdaudiocf", 392 .name = "snd-pdaudiocf",
387 }, 393 },
388 .attach = snd_pdacf_attach, 394 .attach = snd_pdacf_attach,
389 .detach = snd_pdacf_detach 395 .detach = snd_pdacf_detach,
396 .id_table = snd_pdacf_ids,
390}; 397};
391 398
392static int __init init_pdacf(void) 399static int __init init_pdacf(void)