[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100830081231.GL9832@bicker>
Date: Mon, 30 Aug 2010 10:14:45 +0200
From: Dan Carpenter <error27@...il.com>
To: Greg Kroah-Hartman <gregkh@...e.de>
Cc: Dominik Brodowski <linux@...inikbrodowski.net>,
Marcel Holtmann <marcel@...tmann.org>,
Alexander Kurz <linux@...babel.org>,
Andrea Gelmini <andrea.gelmini@...ma.net>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: [patch] pcmcia: comedi: fix compile error
We changed struct pcmcia_device in 90abdc3b973229 "pcmcia: do not use
io_req_t when calling pcmcia_request_io()". The rest of this file got
updated to the new API but this line was missed so my config doesn't
compile.
Signed-off-by: Dan Carpenter <error27@...il.com>
diff --git a/drivers/staging/comedi/drivers/das08_cs.c b/drivers/staging/comedi/drivers/das08_cs.c
index c6aa52f..729ba8f 100644
--- a/drivers/staging/comedi/drivers/das08_cs.c
+++ b/drivers/staging/comedi/drivers/das08_cs.c
@@ -222,7 +222,7 @@ static int das08_pcmcia_config_loop(struct pcmcia_device *p_dev,
p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH;
p_dev->resource[0]->flags |=
pcmcia_io_cfg_data_width(io->flags);
- p_dev->io.IOAddrLines = io->flags & CISTPL_IO_LINES_MASK;
+ p_dev->io_lines = io->flags & CISTPL_IO_LINES_MASK;
p_dev->resource[0]->start = io->win[0].base;
p_dev->resource[0]->end = io->win[0].len;
if (io->nwin > 1) {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists