aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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