diff options
| author | Tom Rini <[email protected]> | 2025-09-25 14:56:18 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-10-08 13:54:58 -0600 |
| commit | 6e04cc321f246fd223bdcb094e10c1241ee5e664 (patch) | |
| tree | 839d0805d5f6577818ad89b9b8bfc98c5521baf6 | |
| parent | b7f35d30155c05d11e08c972fedaa86b11a226e6 (diff) | |
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 <[email protected]>
| -rw-r--r-- | drivers/spmi/spmi-sandbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
