On Mon, 26 Mar 2007 16:17:54 +0900 Yoichi Yuasa <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> This patch has fixed au1000_generic build error.
> It's fixed struct device member name.
> 
> drivers/pcmcia/au1000_generic.c: In function 'au1x00_pcmcia_socket_probe':
> drivers/pcmcia/au1000_generic.c:375: error: 'struct device' has no member 
> named 'dev'
> 
> Yoichi
> 
> Signed-off-by: Yoichi Yuasa <[EMAIL PROTECTED]>
> 
> diff -pruN -X mips/Documentation/dontdiff 
> mips-orig/drivers/pcmcia/au1000_generic.c mips/drivers/pcmcia/au1000_generic.c
> --- mips-orig/drivers/pcmcia/au1000_generic.c 2007-03-08 12:11:30.046770500 
> +0900
> +++ mips/drivers/pcmcia/au1000_generic.c      2007-03-08 14:01:20.235103250 
> +0900
> @@ -372,7 +372,7 @@ int au1x00_pcmcia_socket_probe(struct de
>               skt->socket.resource_ops = &pccard_static_ops;
>               skt->socket.ops = &au1x00_pcmcia_operations;
>               skt->socket.owner = ops->owner;
> -             skt->socket.dev.dev = dev;
> +             skt->socket.dev.parent = dev;
>  
>               init_timer(&skt->poll_timer);
>               skt->poll_timer.function = au1x00_pcmcia_poll_event;

ho-hum.

Is there any way in which we can get the various au.... drivers to compile on
x86?  That way they'd end up a bit better maintained.

_______________________________________________
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia

Reply via email to