aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/pcmcia_cis.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pcmcia/pcmcia_cis.c')
-rw-r--r--drivers/pcmcia/pcmcia_cis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/pcmcia_cis.c b/drivers/pcmcia/pcmcia_cis.c
index 0ac54da15885..ac47cc4e20e8 100644
--- a/drivers/pcmcia/pcmcia_cis.c
+++ b/drivers/pcmcia/pcmcia_cis.c
@@ -151,7 +151,7 @@ static int pcmcia_do_loop_config(tuple_t *tuple, cisparse_t *parse, void *priv)
151 struct pcmcia_cfg_mem *cfg_mem = priv; 151 struct pcmcia_cfg_mem *cfg_mem = priv;
152 152
153 /* default values */ 153 /* default values */
154 cfg_mem->p_dev->conf.ConfigIndex = cfg->index; 154 cfg_mem->p_dev->config_index = cfg->index;
155 if (cfg->flags & CISTPL_CFTABLE_DEFAULT) 155 if (cfg->flags & CISTPL_CFTABLE_DEFAULT)
156 cfg_mem->dflt = *cfg; 156 cfg_mem->dflt = *cfg;
157 157