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:
6e04cc3
)
thermal: Make U_BOOT_DRIVER entries unique
author
Tom Rini
<trini@konsulko.com>
Thu, 25 Sep 2025 20:56:20 +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 ti_bandgap name.
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/thermal/ti-lm74.c
patch
|
blob
|
history
diff --git
a/drivers/thermal/ti-lm74.c
b/drivers/thermal/ti-lm74.c
index
7d56f75
..
0310d33
100644
(file)
--- a/
drivers/thermal/ti-lm74.c
+++ b/
drivers/thermal/ti-lm74.c
@@
-44,7
+44,7
@@
static const struct udevice_id of_ti_lm74_match[] = {
{},
};
-U_BOOT_DRIVER(ti_
bandgap
_thermal) = {
+U_BOOT_DRIVER(ti_
lm74
_thermal) = {
.name = "ti_lm74_thermal",
.id = UCLASS_THERMAL,
.ops = &ti_lm74_ops,