summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/mtd/lpddr/lpddr2_nvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/mtd/lpddr/lpddr2_nvm.c')
-rw-r--r--kernel/drivers/mtd/lpddr/lpddr2_nvm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/drivers/mtd/lpddr/lpddr2_nvm.c b/kernel/drivers/mtd/lpddr/lpddr2_nvm.c
index 063cec40d..2342277c9 100644
--- a/kernel/drivers/mtd/lpddr/lpddr2_nvm.c
+++ b/kernel/drivers/mtd/lpddr/lpddr2_nvm.c
@@ -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,