diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2005-06-27 19:28:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-27 21:03:15 -0400 |
commit | 279c936153199e105b96429dec11233ae153667c (patch) | |
tree | 4c7e0dae5371ca7d5a66cd249099b4fdfdba9448 | |
parent | a01c3ed48e3319f9a4eb4e43b8c6abe00f1a1389 (diff) |
[PATCH] pcmcia: id_table for btuart_cs.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>
-rw-r--r-- | drivers/bluetooth/btuart_cs.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/bluetooth/btuart_cs.c b/drivers/bluetooth/btuart_cs.c index ad8d972444a5..c479484a1f7f 100644 --- a/drivers/bluetooth/btuart_cs.c +++ b/drivers/bluetooth/btuart_cs.c | |||
@@ -855,6 +855,12 @@ static int btuart_event(event_t event, int priority, event_callback_args_t *args | |||
855 | return 0; | 855 | return 0; |
856 | } | 856 | } |
857 | 857 | ||
858 | static struct pcmcia_device_id btuart_ids[] = { | ||
859 | /* don't use this driver. Use serial_cs + hci_uart instead */ | ||
860 | PCMCIA_DEVICE_NULL | ||
861 | }; | ||
862 | MODULE_DEVICE_TABLE(pcmcia, btuart_ids); | ||
863 | |||
858 | static struct pcmcia_driver btuart_driver = { | 864 | static struct pcmcia_driver btuart_driver = { |
859 | .owner = THIS_MODULE, | 865 | .owner = THIS_MODULE, |
860 | .drv = { | 866 | .drv = { |
@@ -862,6 +868,7 @@ static struct pcmcia_driver btuart_driver = { | |||
862 | }, | 868 | }, |
863 | .attach = btuart_attach, | 869 | .attach = btuart_attach, |
864 | .detach = btuart_detach, | 870 | .detach = btuart_detach, |
871 | .id_table = btuart_ids, | ||
865 | }; | 872 | }; |
866 | 873 | ||
867 | static int __init init_btuart_cs(void) | 874 | static int __init init_btuart_cs(void) |