Merge tag 'gfs2-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2...
[firefly-linux-kernel-4.4.55.git] / drivers / mtd / nand / tmio_nand.c
index fb8fd35fa668516dcb763037e164691482eca9ea..befddf0776e4c2d03cfcb674735c7d9a9b24674c 100644 (file)
@@ -382,6 +382,7 @@ static int tmio_probe(struct platform_device *dev)
        nand_chip = &tmio->chip;
        mtd->priv = nand_chip;
        mtd->name = "tmio-nand";
+       mtd->dev.parent = &dev->dev;
 
        tmio->ccr = devm_ioremap(&dev->dev, ccr->start, resource_size(ccr));
        if (!tmio->ccr)