summaryrefslogtreecommitdiffstats
path: root/drivers/nvmem/zynqmp_nvmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nvmem/zynqmp_nvmem.c')
-rw-r--r--drivers/nvmem/zynqmp_nvmem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvmem/zynqmp_nvmem.c b/drivers/nvmem/zynqmp_nvmem.c
index f49bb9a26d..7f15aa89a9 100644
--- a/drivers/nvmem/zynqmp_nvmem.c
+++ b/drivers/nvmem/zynqmp_nvmem.c
@@ -58,6 +58,7 @@ static int zynqmp_nvmem_probe(struct platform_device *pdev)
priv->dev = dev;
econfig.dev = dev;
+ econfig.add_legacy_fixed_of_cells = true;
econfig.reg_read = zynqmp_nvmem_read;
econfig.priv = priv;