[patches 12/13] pcmcia: id_table for btuart_cs.c
Dominik Brodowski
linux at dominikbrodowski.net
Sun Mar 6 10:41:07 EST 2005
Add pcmcia_device_id table.
Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>
Signed-off-by: Marcel Holtmann <marcel at holtmann.org>
Index: 2.6.11/drivers/bluetooth/btuart_cs.c
===================================================================
--- 2.6.11.orig/drivers/bluetooth/btuart_cs.c 2005-03-02 18:23:43.000000000 +0100
+++ 2.6.11/drivers/bluetooth/btuart_cs.c 2005-03-02 21:33:16.000000000 +0100
@@ -855,6 +855,12 @@
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 @@
},
.attach = btuart_attach,
.detach = btuart_detach,
+ .id_table = btuart_ids,
};
static int __init init_btuart_cs(void)
More information about the linux-pcmcia
mailing list