These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / mtd / maps / ixp4xx.c
index b443074..e3180d5 100644 (file)
@@ -226,7 +226,7 @@ static int ixp4xx_flash_probe(struct platform_device *dev)
                err = -ENXIO;
                goto Error;
        }
-       info->mtd->owner = THIS_MODULE;
+       info->mtd->dev.parent = &dev->dev;
 
        /* Use the fast version */
        info->map.write = ixp4xx_write16;