summaryrefslogtreecommitdiffstats
path: root/drivers/nvmem/microchip-otpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nvmem/microchip-otpc.c')
-rw-r--r--drivers/nvmem/microchip-otpc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvmem/microchip-otpc.c b/drivers/nvmem/microchip-otpc.c
index 436e0dc4f3..7cf81738a3 100644
--- a/drivers/nvmem/microchip-otpc.c
+++ b/drivers/nvmem/microchip-otpc.c
@@ -261,6 +261,7 @@ static int mchp_otpc_probe(struct platform_device *pdev)
return ret;
mchp_nvmem_config.dev = otpc->dev;
+ mchp_nvmem_config.add_legacy_fixed_of_cells = true;
mchp_nvmem_config.size = size;
mchp_nvmem_config.priv = otpc;
nvmem = devm_nvmem_register(&pdev->dev, &mchp_nvmem_config);