[PATCH] pcmcia: id_table for btuart_cs.c
authorDominik Brodowski <linux@dominikbrodowski.net>
Mon, 27 Jun 2005 23:28:38 +0000 (16:28 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 28 Jun 2005 01:03:15 +0000 (18:03 -0700)
Add pcmcia_device_id table.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/bluetooth/btuart_cs.c

index ad8d972444a522e682776e97ffbb1fe758df5a06..c479484a1f7f0d004aa888be03b6103d2bc85ebb 100644 (file)
@@ -855,6 +855,12 @@ static int btuart_event(event_t event, int priority, event_callback_args_t *args
        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 = {
        .owner          = THIS_MODULE,
        .drv            = {
@@ -862,6 +868,7 @@ static struct pcmcia_driver btuart_driver = {
        },
        .attach         = btuart_attach,
        .detach         = btuart_detach,
+       .id_table       = btuart_ids,
 };
 
 static int __init init_btuart_cs(void)