These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / mtd / lpddr / lpddr2_nvm.c
index 063cec4..2342277 100644 (file)
@@ -460,6 +460,7 @@ static int lpddr2_nvm_probe(struct platform_device *pdev)
 
        /* Populate mtd_info data structure */
        *mtd = (struct mtd_info) {
+               .dev            = { .parent = &pdev->dev },
                .name           = pdev->dev.init_name,
                .type           = MTD_RAM,
                .priv           = map,