summaryrefslogtreecommitdiffstats
path: root/drivers/nvmem/sc27xx-efuse.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nvmem/sc27xx-efuse.c')
-rw-r--r--drivers/nvmem/sc27xx-efuse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvmem/sc27xx-efuse.c b/drivers/nvmem/sc27xx-efuse.c
index 2210da40df..bff27011f4 100644
--- a/drivers/nvmem/sc27xx-efuse.c
+++ b/drivers/nvmem/sc27xx-efuse.c
@@ -247,6 +247,7 @@ static int sc27xx_efuse_probe(struct platform_device *pdev)
econfig.reg_read = sc27xx_efuse_read;
econfig.priv = efuse;
econfig.dev = &pdev->dev;
+ econfig.add_legacy_fixed_of_cells = true;
nvmem = devm_nvmem_register(&pdev->dev, &econfig);
if (IS_ERR(nvmem)) {
dev_err(&pdev->dev, "failed to register nvmem config\n");