These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / mtd / nand / bcm47xxnflash / main.c
index 461577c..9ba0c0f 100644 (file)
@@ -34,7 +34,7 @@ static int bcm47xxnflash_probe(struct platform_device *pdev)
                return -ENOMEM;
 
        b47n->nand_chip.priv = b47n;
-       b47n->mtd.owner = THIS_MODULE;
+       b47n->mtd.dev.parent = &pdev->dev;
        b47n->mtd.priv = &b47n->nand_chip; /* Required */
        b47n->cc = container_of(nflash, struct bcma_drv_cc, nflash);