spmi: sandbox: Make U_BOOT_DRIVER entries unique

All instances of the U_BOOT_DRIVER must use a unique name or they will
lead to link time failures due to name space conflicts when both are
present. In this case the driver was reusing the msm name.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2025-09-25 14:56:18 -06:00
parent b7f35d3015
commit 6e04cc321f

View File

@ -144,7 +144,7 @@ static const struct udevice_id sandbox_spmi_ids[] = {
{ }
};
U_BOOT_DRIVER(msm_spmi) = {
U_BOOT_DRIVER(sandbox_spmi) = {
.name = "sandbox_spmi",
.id = UCLASS_SPMI,
.of_match = sandbox_spmi_ids,