summaryrefslogtreecommitdiffstats
path: root/drivers/nvmem/rockchip-otp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nvmem/rockchip-otp.c')
-rw-r--r--drivers/nvmem/rockchip-otp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvmem/rockchip-otp.c b/drivers/nvmem/rockchip-otp.c
index cb9aa54283..7107d68a2f 100644
--- a/drivers/nvmem/rockchip-otp.c
+++ b/drivers/nvmem/rockchip-otp.c
@@ -255,6 +255,7 @@ static int rockchip_otp_read(void *context, unsigned int offset,
static struct nvmem_config otp_config = {
.name = "rockchip-otp",
.owner = THIS_MODULE,
+ .add_legacy_fixed_of_cells = true,
.read_only = true,
.stride = 1,
.word_size = 1,