These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / mtd / nand / fsl_upm.c
index 72755d7..d326369 100644 (file)
@@ -176,7 +176,7 @@ static int fun_chip_init(struct fsl_upm_nand *fun,
                fun->chip.dev_ready = fun_chip_ready;
 
        fun->mtd.priv = &fun->chip;
-       fun->mtd.owner = THIS_MODULE;
+       fun->mtd.dev.parent = fun->dev;
 
        flash_np = of_get_next_child(upm_np, NULL);
        if (!flash_np)