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 <heiko.stuebner@cherry.de> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20240705074852.423202-6-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 2933e79 commit 39f9560

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)