[SCSI] mpt2sas: Expander remove fails when it is processing another expander add.
[safe/jmp/linux-2.6] / drivers / scsi / pcmcia / fdomain_stub.c
index fefef7d..06254f4 100644 (file)
@@ -124,10 +124,11 @@ static void fdomain_detach(struct pcmcia_device *link)
 do { last_fn = (fn); if ((last_ret = (ret)) != 0) goto cs_failed; } while (0)
 
 static int fdomain_config_check(struct pcmcia_device *p_dev,
-                                 cistpl_cftable_entry_t *cfg,
-                                 void *priv_data)
+                               cistpl_cftable_entry_t *cfg,
+                               cistpl_cftable_entry_t *dflt,
+                               unsigned int vcc,
+                               void *priv_data)
 {
-       p_dev->conf.ConfigIndex = cfg->index;
        p_dev->io.BasePort1 = cfg->io.win[0].base;
        return pcmcia_request_io(p_dev, &p_dev->io);
 }