[PATCH] pcmcia: id_table for bt3c_cs.c
Add pcmcia_device_id table. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
7f70cb6d9f
commit
a01c3ed48e
1 changed files with 7 additions and 0 deletions
|
@ -935,6 +935,12 @@ static int bt3c_event(event_t event, int priority, event_callback_args_t *args)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static struct pcmcia_device_id bt3c_ids[] = {
|
||||||
|
PCMCIA_DEVICE_PROD_ID13("3COM", "Bluetooth PC Card", 0xefce0a31, 0xd4ce9b02),
|
||||||
|
PCMCIA_DEVICE_NULL
|
||||||
|
};
|
||||||
|
MODULE_DEVICE_TABLE(pcmcia, bt3c_ids);
|
||||||
|
|
||||||
static struct pcmcia_driver bt3c_driver = {
|
static struct pcmcia_driver bt3c_driver = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.drv = {
|
.drv = {
|
||||||
|
@ -942,6 +948,7 @@ static struct pcmcia_driver bt3c_driver = {
|
||||||
},
|
},
|
||||||
.attach = bt3c_attach,
|
.attach = bt3c_attach,
|
||||||
.detach = bt3c_detach,
|
.detach = bt3c_detach,
|
||||||
|
.id_table = bt3c_ids,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init init_bt3c_cs(void)
|
static int __init init_bt3c_cs(void)
|
||||||
|
|
Loading…
Reference in a new issue