Commit 7fb22bb4 authored by Dominik Brodowski's avatar Dominik Brodowski Committed by Linus Torvalds

[PATCH] pcmcia: id_table for com20020_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 279c9361
...@@ -483,7 +483,11 @@ static int com20020_event(event_t event, int priority, ...@@ -483,7 +483,11 @@ static int com20020_event(event_t event, int priority,
return 0; return 0;
} /* com20020_event */ } /* com20020_event */
static struct pcmcia_device_id com20020_ids[] = {
PCMCIA_DEVICE_PROD_ID12("Contemporary Control Systems, Inc.", "PCM20 Arcnet Adapter", 0x59991666, 0x95dfffaf),
PCMCIA_DEVICE_NULL
};
MODULE_DEVICE_TABLE(pcmcia, com20020_ids);
static struct pcmcia_driver com20020_cs_driver = { static struct pcmcia_driver com20020_cs_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
...@@ -492,6 +496,7 @@ static struct pcmcia_driver com20020_cs_driver = { ...@@ -492,6 +496,7 @@ static struct pcmcia_driver com20020_cs_driver = {
}, },
.attach = com20020_attach, .attach = com20020_attach,
.detach = com20020_detach, .detach = com20020_detach,
.id_table = com20020_ids,
}; };
static int __init init_com20020_cs(void) static int __init init_com20020_cs(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