lkml.org 
[lkml]   [2008]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [BUG REPORT!!!] [PATCH 19/49] pcmcia: remove remaining in-kernel pcmcia_get_configuration_info() users

drivers/pcmcia/ds.c

setup "io" and "irq" for pseudo multifunction devices.

Signed-off-by: Komuro <komurojun-mbn@nifty.com>

---

--- linux-2.6.28-rc2/drivers/pcmcia/ds.c.orig 2008-11-01 08:59:13.000000000 +0900
+++ linux-2.6.28-rc2/drivers/pcmcia/ds.c 2008-11-02 18:59:18.000000000 +0900
@@ -668,6 +668,8 @@ struct pcmcia_device * pcmcia_device_add
list_for_each_entry(tmp_dev, &s->devices_list, socket_device_list)
if (p_dev->func == tmp_dev->func) {
p_dev->function_config = tmp_dev->function_config;
+ p_dev->io = tmp_dev->io;
+ p_dev->irq = tmp_dev->irq;
kref_get(&p_dev->function_config->ref);
}


\
 
 \ /
  Last update: 2008-11-02 11:41    [from the cache]
©2003-2011 Jasper Spaans