diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2005-06-27 19:28:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-27 21:03:16 -0400 |
commit | 070812734facccf2d891eec0da2497ec3824e616 (patch) | |
tree | e2546916a78bf24f861cf08a7addfba9443cb132 /drivers/telephony | |
parent | 02ae38cfc5a49dde1ce979e710eec1d02279cb53 (diff) |
[PATCH] pcmcia: id_table for ixj_pcmcia.c
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>
Diffstat (limited to 'drivers/telephony')
-rw-r--r-- | drivers/telephony/ixj_pcmcia.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/telephony/ixj_pcmcia.c b/drivers/telephony/ixj_pcmcia.c index e1ef0d7ee8d1..ce5ebfe4af2b 100644 --- a/drivers/telephony/ixj_pcmcia.c +++ b/drivers/telephony/ixj_pcmcia.c | |||
@@ -295,6 +295,12 @@ static int ixj_event(event_t event, int priority, event_callback_args_t * args) | |||
295 | return 0; | 295 | return 0; |
296 | } | 296 | } |
297 | 297 | ||
298 | static struct pcmcia_device_id ixj_ids[] = { | ||
299 | PCMCIA_DEVICE_MANF_CARD(0x0257, 0x0600), | ||
300 | PCMCIA_DEVICE_NULL | ||
301 | }; | ||
302 | MODULE_DEVICE_TABLE(pcmcia, ixj_ids); | ||
303 | |||
298 | static struct pcmcia_driver ixj_driver = { | 304 | static struct pcmcia_driver ixj_driver = { |
299 | .owner = THIS_MODULE, | 305 | .owner = THIS_MODULE, |
300 | .drv = { | 306 | .drv = { |
@@ -302,6 +308,7 @@ static struct pcmcia_driver ixj_driver = { | |||
302 | }, | 308 | }, |
303 | .attach = ixj_attach, | 309 | .attach = ixj_attach, |
304 | .detach = ixj_detach, | 310 | .detach = ixj_detach, |
311 | .id_table = ixj_ids, | ||
305 | }; | 312 | }; |
306 | 313 | ||
307 | static int __init ixj_pcmcia_init(void) | 314 | static int __init ixj_pcmcia_init(void) |