Commit f57ea2a2 authored by Dominik Brodowski's avatar Dominik Brodowski Committed by Linus Torvalds

[PATCH] pcmcia: id_table for ray_cs

Add pcmcia_device_id table.
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0a10d73d
...@@ -2904,6 +2904,12 @@ static int write_int(struct file *file, const char __user *buffer, unsigned long ...@@ -2904,6 +2904,12 @@ static int write_int(struct file *file, const char __user *buffer, unsigned long
} }
#endif #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 = { static struct pcmcia_driver ray_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.drv = { .drv = {
...@@ -2911,6 +2917,7 @@ static struct pcmcia_driver ray_driver = { ...@@ -2911,6 +2917,7 @@ static struct pcmcia_driver ray_driver = {
}, },
.attach = ray_attach, .attach = ray_attach,
.detach = ray_detach, .detach = ray_detach,
.id_table = ray_ids,
}; };
static int __init init_ray_cs(void) static int __init init_ray_cs(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment