git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7f35d3
)
spmi: sandbox: Make U_BOOT_DRIVER entries unique
author
Tom Rini
<trini@konsulko.com>
Thu, 25 Sep 2025 20:56:18 +0000
(14:56 -0600)
committer
Tom Rini
<trini@konsulko.com>
Wed, 8 Oct 2025 19:54:58 +0000
(13:54 -0600)
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>
drivers/spmi/spmi-sandbox.c
patch
|
blob
|
history
diff --git
a/drivers/spmi/spmi-sandbox.c
b/drivers/spmi/spmi-sandbox.c
index
992b08d
..
1a8561b
100644
(file)
--- 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,