mirror of https://gitee.com/openkylin/linux.git
[PATCH] pcmcia: id_table for ray_cs
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>
This commit is contained in:
parent
0a10d73dad
commit
f57ea2a232
|
@ -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 = {
|
||||||
},
|
},
|
||||||
.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)
|
||||||
|
|
Loading…
Reference in New Issue