[patches 5/5] pcmcia: id_table for synclink_cs.c

Dominik Brodowski linux at dominikbrodowski.net
Wed Mar 2 16:25:08 EST 2005


Add pcmcia_device_id table.

Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>

Index: 2.6.11-rc5/drivers/char/pcmcia/synclink_cs.c
===================================================================
--- 2.6.11-rc5.orig/drivers/char/pcmcia/synclink_cs.c	2005-02-27 17:31:33.000000000 +0100
+++ 2.6.11-rc5/drivers/char/pcmcia/synclink_cs.c	2005-02-27 17:32:24.000000000 +0100
@@ -3081,6 +3081,12 @@
 	}
 }
 
+static struct pcmcia_device_id mgslpc_ids[] = {
+	PCMCIA_DEVICE_MANF_CARD(0x02c5, 0x0050),
+	PCMCIA_DEVICE_NULL
+};
+MODULE_DEVICE_TABLE(pcmcia, mgslpc_ids);
+
 static struct pcmcia_driver mgslpc_driver = {
 	.owner		= THIS_MODULE,
 	.drv		= {
@@ -3088,6 +3094,7 @@
 	},
 	.attach		= mgslpc_attach,
 	.detach		= mgslpc_detach,
+	.id_table	= mgslpc_ids,
 };
 
 static struct tty_operations mgslpc_ops = {



More information about the linux-pcmcia mailing list