[patches 11/13] pcmcia: id_table for bt3c_cs.c

Dominik Brodowski linux at dominikbrodowski.net
Sun Mar 6 10:41:05 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-rc4/drivers/bluetooth/bt3c_cs.c
===================================================================
--- 2.6.11-rc4.orig/drivers/bluetooth/bt3c_cs.c	2005-02-13 15:40:37.000000000 +0100
+++ 2.6.11-rc4/drivers/bluetooth/bt3c_cs.c	2005-02-16 22:59:40.000000000 +0100
@@ -935,6 +935,12 @@
 	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 = {
 	.owner		= THIS_MODULE,
 	.drv		= {
@@ -942,6 +948,7 @@
 	},
 	.attach		= bt3c_attach,
 	.detach		= bt3c_detach,
+	.id_table	= bt3c_ids,
 };
 
 static int __init init_bt3c_cs(void)



More information about the linux-pcmcia mailing list