[PATCH] pcmcia: id_table for ray_cs
authorDominik Brodowski <linux@dominikbrodowski.net>
Mon, 27 Jun 2005 23:28:24 +0000 (16:28 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 28 Jun 2005 01:03:11 +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/net/wireless/ray_cs.c

index 6e5bda56b8f8774b6dbd549f9599fd20654e19b2..31652af52eac240dd093d62a3e2be025a4f39453 100644 (file)
@@ -2904,6 +2904,12 @@ static int write_int(struct file *file, const char __user *buffer, unsigned long
 }
 #endif
 
+static struct pcmcia_device_id ray_ids[] = {
+       PCMCIA_DEVICE_MANF_CARD(0x01a6, 0x0000),
+       PCMCIA_DEVICE_NULL,
+};
+MODULE_DEVICE_TABLE(pcmcia, ray_ids);
+
 static struct pcmcia_driver ray_driver = {
        .owner          = THIS_MODULE,
        .drv            = {
@@ -2911,6 +2917,7 @@ static struct pcmcia_driver ray_driver = {
        },
        .attach         = ray_attach,
        .detach         = ray_detach,
+       .id_table       = ray_ids,
 };
 
 static int __init init_ray_cs(void)