[patches 13/13] pcmcia: id_table for dtl1_cs.c

Dominik Brodowski linux at dominikbrodowski.net
Sun Mar 6 10:41:09 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/dtl1_cs.c
===================================================================
--- 2.6.11-rc4.orig/drivers/bluetooth/dtl1_cs.c	2005-02-13 15:40:37.000000000 +0100
+++ 2.6.11-rc4/drivers/bluetooth/dtl1_cs.c	2005-02-16 23:00:34.000000000 +0100
@@ -807,6 +807,13 @@
 	return 0;
 }
 
+static struct pcmcia_device_id dtl1_ids[] = {
+	PCMCIA_DEVICE_PROD_ID12("Nokia Mobile Phones", "DTL-1", 0xe1bfdd64, 0xe168480d),
+	PCMCIA_DEVICE_PROD_ID12("Socket", "CF", 0xb38bcc2e, 0x44ebf863),
+	PCMCIA_DEVICE_NULL
+};
+MODULE_DEVICE_TABLE(pcmcia, dtl1_ids);
+
 static struct pcmcia_driver dtl1_driver = {
 	.owner		= THIS_MODULE,
 	.drv		= {
@@ -814,6 +821,7 @@
 	},
 	.attach		= dtl1_attach,
 	.detach		= dtl1_detach,
+	.id_table	= dtl1_ids,
 };
 
 static int __init init_dtl1_cs(void)



More information about the linux-pcmcia mailing list