]> nv-tegra.nvidia Code Review - linux-3.10.git/commitdiff
[PATCH] pcmcia: id_table for pdaudiocf.c
authorDominik Brodowski <linux@dominikbrodowski.net>
Mon, 27 Jun 2005 23:28:42 +0000 (16:28 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 28 Jun 2005 01:03:17 +0000 (18:03 -0700)
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>
sound/pcmcia/pdaudiocf/pdaudiocf.c

index f72c81cc9952705d11415bcd553ca57a00d0f19a..2d4f8e28478b037183ef34db38b49ce3d5e22571 100644 (file)
@@ -380,13 +380,20 @@ static int pdacf_event(event_t event, int priority, event_callback_args_t *args)
 /*
  * 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 = {
        .owner          = THIS_MODULE,
        .drv            = {
                .name   = "snd-pdaudiocf",
        },
        .attach         = snd_pdacf_attach,
-       .detach         = snd_pdacf_detach
+       .detach         = snd_pdacf_detach,
+       .id_table       = snd_pdacf_ids,
 };
 
 static int __init init_pdacf(void)