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

[PATCH] pcmcia: id_table for ixj_pcmcia.c

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 02ae38cf
No related merge requests found
...@@ -295,6 +295,12 @@ static int ixj_event(event_t event, int priority, event_callback_args_t * args) ...@@ -295,6 +295,12 @@ static int ixj_event(event_t event, int priority, event_callback_args_t * args)
return 0; return 0;
} }
static struct pcmcia_device_id ixj_ids[] = {
PCMCIA_DEVICE_MANF_CARD(0x0257, 0x0600),
PCMCIA_DEVICE_NULL
};
MODULE_DEVICE_TABLE(pcmcia, ixj_ids);
static struct pcmcia_driver ixj_driver = { static struct pcmcia_driver ixj_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.drv = { .drv = {
...@@ -302,6 +308,7 @@ static struct pcmcia_driver ixj_driver = { ...@@ -302,6 +308,7 @@ static struct pcmcia_driver ixj_driver = {
}, },
.attach = ixj_attach, .attach = ixj_attach,
.detach = ixj_detach, .detach = ixj_detach,
.id_table = ixj_ids,
}; };
static int __init ixj_pcmcia_init(void) static int __init ixj_pcmcia_init(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