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

[PATCH] pcmcia: id_table for avma1_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 4a17a119
...@@ -501,6 +501,13 @@ static int avma1cs_event(event_t event, int priority, ...@@ -501,6 +501,13 @@ static int avma1cs_event(event_t event, int priority,
return 0; return 0;
} /* avma1cs_event */ } /* avma1cs_event */
static struct pcmcia_device_id avma1cs_ids[] = {
PCMCIA_DEVICE_PROD_ID12("AVM", "ISDN A", 0x95d42008, 0xadc9d4bb),
PCMCIA_DEVICE_PROD_ID12("ISDN", "CARD", 0x8d9761c8, 0x01c5aa7b),
PCMCIA_DEVICE_NULL
};
MODULE_DEVICE_TABLE(pcmcia, avma1cs_ids);
static struct pcmcia_driver avma1cs_driver = { static struct pcmcia_driver avma1cs_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.drv = { .drv = {
...@@ -508,6 +515,7 @@ static struct pcmcia_driver avma1cs_driver = { ...@@ -508,6 +515,7 @@ static struct pcmcia_driver avma1cs_driver = {
}, },
.attach = avma1cs_attach, .attach = avma1cs_attach,
.detach = avma1cs_detach, .detach = avma1cs_detach,
.id_table = avma1cs_ids,
}; };
/*====================================================================*/ /*====================================================================*/
......
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