These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / mtd / nand / sharpsl.c
index 842c47a..082b600 100644 (file)
@@ -144,7 +144,7 @@ static int sharpsl_nand_probe(struct platform_device *pdev)
 
        /* Link the private data with the MTD structure */
        sharpsl->mtd.priv = this;
-       sharpsl->mtd.owner = THIS_MODULE;
+       sharpsl->mtd.dev.parent = &pdev->dev;
 
        platform_set_drvdata(pdev, sharpsl);