]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/pcmcia/tcic.c
Driver core: convert pcmcia code to use struct device
[linux-2.6-omap-h63xx.git] / drivers / pcmcia / tcic.c
index 2d2f415f80a830e4f35f7f3f5fe73907f430b597..c158cf38b9ddbf15c6970a84e9e4d345dd89605e 100644 (file)
@@ -512,7 +512,7 @@ static int __init init_tcic(void)
     for (i = 0; i < sockets; i++) {
            socket_table[i].socket.ops = &tcic_operations;
            socket_table[i].socket.resource_ops = &pccard_nonstatic_ops;
-           socket_table[i].socket.dev.dev = &tcic_device.dev;
+           socket_table[i].socket.dev.parent = &tcic_device.dev;
            ret = pcmcia_register_socket(&socket_table[i].socket);
            if (ret && i)
                    pcmcia_unregister_socket(&socket_table[0].socket);