Skip to content

Commit

Permalink
[PATCH] pcmcia: id_table for ixj_pcmcia.c
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 02ae38c commit 0708127
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/telephony/ixj_pcmcia.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,13 +295,20 @@ static int ixj_event(event_t event, int priority, event_callback_args_t * args)
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 = {
.owner = THIS_MODULE,
.drv = {
.name = "ixj_cs",
},
.attach = ixj_attach,
.detach = ixj_detach,
.id_table = ixj_ids,
};

static int __init ixj_pcmcia_init(void)
Expand Down

0 comments on commit 0708127

Please sign in to comment.