aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_pcmcia.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_pcmcia.c')
-rw-r--r--drivers/ata/pata_pcmcia.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/pata_pcmcia.c b/drivers/ata/pata_pcmcia.c
index 8cccd1b81ee2..4b8bd2021a9c 100644
--- a/drivers/ata/pata_pcmcia.c
+++ b/drivers/ata/pata_pcmcia.c
@@ -181,7 +181,6 @@ static int pcmcia_check_one_config(struct pcmcia_device *pdev,
181 181
182 if ((cfg->io.nwin > 0) || (stk->dflt.io.nwin > 0)) { 182 if ((cfg->io.nwin > 0) || (stk->dflt.io.nwin > 0)) {
183 cistpl_io_t *io = (cfg->io.nwin) ? &cfg->io : &stk->dflt.io; 183 cistpl_io_t *io = (cfg->io.nwin) ? &cfg->io : &stk->dflt.io;
184 pdev->conf.ConfigIndex = cfg->index;
185 pdev->io.BasePort1 = io->win[0].base; 184 pdev->io.BasePort1 = io->win[0].base;
186 pdev->io.IOAddrLines = io->flags & CISTPL_IO_LINES_MASK; 185 pdev->io.IOAddrLines = io->flags & CISTPL_IO_LINES_MASK;
187 if (!(io->flags & CISTPL_IO_16BIT)) 186 if (!(io->flags & CISTPL_IO_16BIT))