]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mtd/nand/mxc_nand.c
[MTD] support driver model updates
[linux-2.6-omap-h63xx.git] / drivers / mtd / nand / mxc_nand.c
index 21fd4f1c48068fdd7dda80fd34d96502cc438e68..bfde74a9ba6bdab6b3f8683a2c4c858fcf74a37a 100644 (file)
@@ -866,6 +866,7 @@ static int __init mxcnd_probe(struct platform_device *pdev)
        mtd = &host->mtd;
        mtd->priv = this;
        mtd->owner = THIS_MODULE;
+       mtd->dev.parent = &pdev->dev;
 
        /* 50 us command delay time */
        this->chip_delay = 5;