nvmem: rockchip-otp: Set type to OTP

A patch from »Small changes for Rockchip NVMEM drivers« in state Mainline for linux-kernel

From: Heiko Stuebner <heiko.stuebner@...> Date: Tue, 7 May 2024 13:42:04 +0200

Commit-Message

The Rockchip OTP is obviously an OTP memory, so document this fact. Signed-off-by: Heiko Stuebner <heiko.stuebner@...>

Patch-Comment

drivers/nvmem/rockchip-otp.c | 1 + 1 file changed, 1 insertion(+)

Statistics

  • 1 lines added
  • 0 lines removed

Changes

------------------------- drivers/nvmem/rockchip-otp.c -------------------------
index 7107d68a2f8c7..ebc3f0b24166b 100644
@@ -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,
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...