linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] pcmcia: comedi: fix compile error
@ 2010-08-30  8:14 Dan Carpenter
  2010-08-30  8:31 ` Dominik Brodowski
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2010-08-30  8:14 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Dominik Brodowski, Marcel Holtmann, Alexander Kurz,
	Andrea Gelmini, devel, linux-kernel, kernel-janitors

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@gmail.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) {

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [patch] pcmcia: comedi: fix compile error
  2010-08-30  8:14 [patch] pcmcia: comedi: fix compile error Dan Carpenter
@ 2010-08-30  8:31 ` Dominik Brodowski
  0 siblings, 0 replies; 2+ messages in thread
From: Dominik Brodowski @ 2010-08-30  8:31 UTC (permalink / raw)
  To: Dan Carpenter, Greg Kroah-Hartman, Marcel Holtmann,
	Alexander Kurz, Andrea Gelmini, devel, linux-kernel,
	kernel-janitors

Dan,

On Mon, Aug 30, 2010 at 10:14:45AM +0200, Dan Carpenter wrote:
> 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.

a similar patch is already in my queue -- will send it to Linus for -rc4...

Thanks,
	Dominik

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-30  8:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-30  8:14 [patch] pcmcia: comedi: fix compile error Dan Carpenter
2010-08-30  8:31 ` Dominik Brodowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).