aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/ds.c
diff options
context:
space:
mode:
authorKomuro <komurojun-mbn@nifty.com>2008-11-02 05:33:24 -0500
committerDominik Brodowski <linux@dominikbrodowski.net>2008-11-02 07:03:53 -0500
commit3e879f61434632ca099804713099f8f1627f929e (patch)
tree4bbe15c69b455b8c67ffaf39e40e37d13c762cc9 /drivers/pcmcia/ds.c
parent60df3de8b1f5ce085049e9e3c83d96643c426158 (diff)
pcmcia: setup resource information for pseudo multifunction devices.
Setup "io" and "irq" for pseudo multifunction devices. Signed-off-by: Komuro <komurojun-mbn@nifty.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/ds.c')
-rw-r--r--drivers/pcmcia/ds.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
index 795660255490..00eee1435dca 100644
--- a/drivers/pcmcia/ds.c
+++ b/drivers/pcmcia/ds.c
@@ -668,6 +668,8 @@ struct pcmcia_device * pcmcia_device_add(struct pcmcia_socket *s, unsigned int f
668 list_for_each_entry(tmp_dev, &s->devices_list, socket_device_list) 668 list_for_each_entry(tmp_dev, &s->devices_list, socket_device_list)
669 if (p_dev->func == tmp_dev->func) { 669 if (p_dev->func == tmp_dev->func) {
670 p_dev->function_config = tmp_dev->function_config; 670 p_dev->function_config = tmp_dev->function_config;
671 p_dev->io = tmp_dev->io;
672 p_dev->irq = tmp_dev->irq;
671 kref_get(&p_dev->function_config->ref); 673 kref_get(&p_dev->function_config->ref);
672 } 674 }
673 675