Skip to content
Commit 437011bf authored by Phil Elwell's avatar Phil Elwell Committed by Dom Cobley
Browse files

nvmem: Use NVMEM_DEVID_AUTO

It is reasonable to declare multiple nvmem blocks. Unless a unique 'id'
is passed in for each block there may be name clashes.

Avoid this by using the magic token NVMEM_DEVID_AUTO.

Fixes: 5a3fa75a

 ("nvmem: Add driver to expose reserved memory as nvmem")

Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.com>
parent d49a0de9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment