[PATCH] Fix struct device member name in PCMCIA au1000_generic

Yoichi Yuasa yoichi_yuasa at tripeaks.co.jp
Mon Mar 26 03:17:54 EDT 2007


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;



More information about the linux-pcmcia mailing list