]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/pcmcia/at91_cf.c
[MTD] [OneNAND] Exit loop only when column start with 0
[linux-2.6-omap-h63xx.git] / drivers / pcmcia / at91_cf.c
index b3186283753423971255294795b76b329841f5c3..99baabc23599129179fc814a519ba35b089135be 100644 (file)
@@ -277,7 +277,7 @@ static int __init at91_cf_probe(struct platform_device *pdev)
                board->det_pin, board->irq_pin);
 
        cf->socket.owner = THIS_MODULE;
-       cf->socket.dev.dev = &pdev->dev;
+       cf->socket.dev.parent = &pdev->dev;
        cf->socket.ops = &at91_cf_ops;
        cf->socket.resource_ops = &pccard_static_ops;
        cf->socket.features = SS_CAP_PCCARD | SS_CAP_STATIC_MAP