[PATCH] Fix struct device member name in PCMCIA au1000_generic
Andrew Morton
akpm at linux-foundation.org
Mon Mar 26 04:28:29 EDT 2007
On Mon, 26 Mar 2007 16:17:54 +0900 Yoichi Yuasa <yoichi_yuasa at tripeaks.co.jp> 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 <yoichi_yuasa at tripeaks.co.jp>
>
> 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.
More information about the linux-pcmcia
mailing list