Skip to content

Commit 39f9560

Browse files
Heiko Stuebnergregkh
authored andcommitted
nvmem: rockchip-otp: Set type to OTP
The Rockchip OTP is obviously an OTP memory, so document this fact. Signed-off-by: Heiko Stuebner <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 2933e79 commit 39f9560

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/nvmem/rockchip-otp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ static struct nvmem_config otp_config = {
256256
.name = "rockchip-otp",
257257
.owner = THIS_MODULE,
258258
.add_legacy_fixed_of_cells = true,
259+
.type = NVMEM_TYPE_OTP,
259260
.read_only = true,
260261
.stride = 1,
261262
.word_size = 1,

0 commit comments

Comments
 (0)