From 6e04cc321f246fd223bdcb094e10c1241ee5e664 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Thu, 25 Sep 2025 14:56:18 -0600 Subject: [PATCH] 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 --- drivers/spmi/spmi-sandbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spmi/spmi-sandbox.c b/drivers/spmi/spmi-sandbox.c index 992b08dd612..1a8561b3aea 100644 --- a/drivers/spmi/spmi-sandbox.c +++ b/drivers/spmi/spmi-sandbox.c @@ -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, -- 2.47.3