[PATCH 2/3] nvmem: rockchip-otp: Set type to OTP
Heiko Stuebner
heiko at sntech.de
Tue May 7 05:22:55 PDT 2024
From: Heiko Stuebner <heiko.stuebner at cherry.de>
The Rockchip OTP is obviously an OTP memory, so document this fact.
Signed-off-by: Heiko Stuebner <heiko.stuebner at cherry.de>
---
drivers/nvmem/rockchip-otp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/nvmem/rockchip-otp.c b/drivers/nvmem/rockchip-otp.c
index 7107d68a2f8c7..ebc3f0b24166b 100644
--- a/drivers/nvmem/rockchip-otp.c
+++ b/drivers/nvmem/rockchip-otp.c
@@ -256,6 +256,7 @@ static struct nvmem_config otp_config = {
.name = "rockchip-otp",
.owner = THIS_MODULE,
.add_legacy_fixed_of_cells = true,
+ .type = NVMEM_TYPE_OTP,
.read_only = true,
.stride = 1,
.word_size = 1,
--
2.39.2
More information about the Linux-rockchip
mailing list