mtd: nand: jz4740_nand: show parent device in sysfs
[deliverable/linux.git] / drivers / mtd / nand / jz4740_nand.c
index ebf2cce04cba14a3caa3baf9d503aa17a730e969..dc4e8446f1ff10b55acf6c40a4cb0ac662cf2b06 100644 (file)
@@ -434,7 +434,7 @@ static int jz_nand_probe(struct platform_device *pdev)
        mtd             = &nand->mtd;
        chip            = &nand->chip;
        mtd->priv       = chip;
-       mtd->owner      = THIS_MODULE;
+       mtd->dev.parent = &pdev->dev;
        mtd->name       = "jz4740-nand";
 
        chip->ecc.hwctl         = jz_nand_hwctl;
This page took 0.037853 seconds and 5 git commands to generate.