]> err.no Git - linux-2.6/commitdiff
[PATCH] m32r: class_device -> device fallout
authorAl Viro <viro@ftp.linux.org.uk>
Fri, 9 Feb 2007 16:05:37 +0000 (16:05 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 9 Feb 2007 16:28:48 +0000 (08:28 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pcmcia/m32r_pcc.c

index bbf025874d0c358cda4a2d6033b0876db3b2f1d5..4dbef07623764f421e2a01d7713d650b4df42aef 100644 (file)
@@ -722,7 +722,7 @@ static int __init init_m32r_pcc(void)
        /* Set up interrupt handler(s) */
 
        for (i = 0 ; i < pcc_sockets ; i++) {
-               socket[i].socket.dev.dev = &pcc_device.dev;
+               socket[i].socket.dev.parent = &pcc_device.dev;
                socket[i].socket.ops = &pcc_operations;
                socket[i].socket.resource_ops = &pccard_static_ops;
                socket[i].socket.owner = THIS_MODULE;