diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2005-06-27 19:28:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-27 21:03:11 -0400 |
commit | f57ea2a23245ba6db68f6a84ae903b3901965ade (patch) | |
tree | e3d2ed06c3a7b12063c9f9ac7eefcc452348bd4f /drivers/net/wireless/ray_cs.c | |
parent | 0a10d73dad86a023f343f80cc9cb71ea4e140192 (diff) |
[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>
Diffstat (limited to 'drivers/net/wireless/ray_cs.c')
-rw-r--r-- | drivers/net/wireless/ray_cs.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c index 6e5bda56b8f8..31652af52eac 100644 --- a/drivers/net/wireless/ray_cs.c +++ b/drivers/net/wireless/ray_cs.c | |||
@@ -2904,6 +2904,12 @@ static int write_int(struct file *file, const char __user *buffer, unsigned long | |||
2904 | } | 2904 | } |
2905 | #endif | 2905 | #endif |
2906 | 2906 | ||
2907 | static struct pcmcia_device_id ray_ids[] = { | ||
2908 | PCMCIA_DEVICE_MANF_CARD(0x01a6, 0x0000), | ||
2909 | PCMCIA_DEVICE_NULL, | ||
2910 | }; | ||
2911 | MODULE_DEVICE_TABLE(pcmcia, ray_ids); | ||
2912 | |||
2907 | static struct pcmcia_driver ray_driver = { | 2913 | static struct pcmcia_driver ray_driver = { |
2908 | .owner = THIS_MODULE, | 2914 | .owner = THIS_MODULE, |
2909 | .drv = { | 2915 | .drv = { |
@@ -2911,6 +2917,7 @@ static struct pcmcia_driver ray_driver = { | |||
2911 | }, | 2917 | }, |
2912 | .attach = ray_attach, | 2918 | .attach = ray_attach, |
2913 | .detach = ray_detach, | 2919 | .detach = ray_detach, |
2920 | .id_table = ray_ids, | ||
2914 | }; | 2921 | }; |
2915 | 2922 | ||
2916 | static int __init init_ray_cs(void) | 2923 | static int __init init_ray_cs(void) |