diff options
author | Michael Walle <[email protected]> | 2023-03-08 09:20:18 +0100 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2023-03-08 14:31:17 +0100 |
commit | 1cd9ceaa5282ff10ea20a7fbadde5a476a1cc99e (patch) | |
tree | 8f074d800b1660686664c5d9f24082d1005749d2 /tools/perf/scripts/python | |
parent | fe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff) |
mtd: core: provide unique name for nvmem device, take two
Commit c048b60d39e1 ("mtd: core: provide unique name for nvmem device")
tries to give the nvmem device a unique name, but fails badly if the mtd
device doesn't have a "struct device" associated with it, i.e. if
CONFIG_MTD_PARTITIONED_MASTER is not set. This will result in the name
"(null)-user-otp", which is not unique. It seems the best we can do is
to use the compatible name together with a unique identifier added by
the nvmem subsystem by using NVMEM_DEVID_AUTO.
Fixes: c048b60d39e1 ("mtd: core: provide unique name for nvmem device")
Cc: [email protected]
Signed-off-by: Michael Walle <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions