Commit 279c9361 authored by Dominik Brodowski's avatar Dominik Brodowski Committed by Linus Torvalds

[PATCH] pcmcia: id_table for btuart_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 a01c3ed4
...@@ -855,6 +855,12 @@ static int btuart_event(event_t event, int priority, event_callback_args_t *args ...@@ -855,6 +855,12 @@ static int btuart_event(event_t event, int priority, event_callback_args_t *args
return 0; return 0;
} }
static struct pcmcia_device_id btuart_ids[] = {
/* don't use this driver. Use serial_cs + hci_uart instead */
PCMCIA_DEVICE_NULL
};
MODULE_DEVICE_TABLE(pcmcia, btuart_ids);
static struct pcmcia_driver btuart_driver = { static struct pcmcia_driver btuart_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.drv = { .drv = {
...@@ -862,6 +868,7 @@ static struct pcmcia_driver btuart_driver = { ...@@ -862,6 +868,7 @@ static struct pcmcia_driver btuart_driver = {
}, },
.attach = btuart_attach, .attach = btuart_attach,
.detach = btuart_detach, .detach = btuart_detach,
.id_table = btuart_ids,
}; };
static int __init init_btuart_cs(void) static int __init init_btuart_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