Commit 39f95600 authored by Heiko Stuebner's avatar Heiko Stuebner Committed by Greg Kroah-Hartman

nvmem: rockchip-otp: Set type to OTP

The Rockchip OTP is obviously an OTP memory, so document this fact.
Signed-off-by: default avatarHeiko Stuebner <heiko.stuebner@cherry.de>
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240705074852.423202-6-srinivas.kandagatla@linaro.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2933e79d
...@@ -256,6 +256,7 @@ static struct nvmem_config otp_config = { ...@@ -256,6 +256,7 @@ static struct nvmem_config otp_config = {
.name = "rockchip-otp", .name = "rockchip-otp",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.add_legacy_fixed_of_cells = true, .add_legacy_fixed_of_cells = true,
.type = NVMEM_TYPE_OTP,
.read_only = true, .read_only = true,
.stride = 1, .stride = 1,
.word_size = 1, .word_size = 1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment