Commit 0a10d73d authored by Dominik Brodowski's avatar Dominik Brodowski Committed by Linus Torvalds

[PATCH] pcmcia: id_table for teles_cs

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 a58e26cb
...@@ -489,6 +489,12 @@ static int teles_cs_event(event_t event, int priority, ...@@ -489,6 +489,12 @@ static int teles_cs_event(event_t event, int priority,
return 0; return 0;
} /* teles_cs_event */ } /* teles_cs_event */
static struct pcmcia_device_id teles_ids[] = {
PCMCIA_DEVICE_PROD_ID12("TELES", "S0/PC", 0x67b50eae, 0xe9e70119),
PCMCIA_DEVICE_NULL,
};
MODULE_DEVICE_TABLE(pcmcia, teles_ids);
static struct pcmcia_driver teles_cs_driver = { static struct pcmcia_driver teles_cs_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.drv = { .drv = {
...@@ -496,6 +502,7 @@ static struct pcmcia_driver teles_cs_driver = { ...@@ -496,6 +502,7 @@ static struct pcmcia_driver teles_cs_driver = {
}, },
.attach = teles_attach, .attach = teles_attach,
.detach = teles_detach, .detach = teles_detach,
.id_table = teles_ids,
}; };
static int __init init_teles_cs(void) static int __init init_teles_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