pcmcia: move config_{base,index,regs} to struct pcmcia_device
[deliverable/linux.git] / drivers / ide / ide-cs.c
index cf7cb4953aa5e12a62952496f7278fc1fbbb5b8a..07e37876559ca91e5bdfdcaac9391956d05dd61b 100644 (file)
@@ -227,8 +227,7 @@ static int pcmcia_check_one_config(struct pcmcia_device *pdev,
        if ((cfg->io.nwin > 0) || (dflt->io.nwin > 0)) {
                cistpl_io_t *io = (cfg->io.nwin) ? &cfg->io : &dflt->io;
                pdev->io_lines = io->flags & CISTPL_IO_LINES_MASK;
-
-               pdev->conf.ConfigIndex = cfg->index;
+               pdev->config_index = cfg->index;
                pdev->resource[0]->start = io->win[0].base;
                if (!(io->flags & CISTPL_IO_16BIT)) {
                        pdev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH;
This page took 0.030999 seconds and 5 git commands to generate.