mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:02:20 +00:00
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>
This commit is contained in:
parent
2933e79db3
commit
39f95600d8
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user