Skip to content

Commit

Permalink
[PATCH] pcmcia: id_table for ray_cs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dominik Brodowski authored and Linus Torvalds committed Jun 28, 2005
1 parent 0a10d73 commit f57ea2a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/net/wireless/ray_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2904,13 +2904,20 @@ 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 = {
.name = "ray_cs",
},
.attach = ray_attach,
.detach = ray_detach,
.id_table = ray_ids,
};

static int __init init_ray_cs(void)
Expand Down

0 comments on commit f57ea2a

Please sign in to comment.