[PATCH] thermal: Make U_BOOT_DRIVER entries unique
Tom Rini
trini at konsulko.com
Thu Sep 25 22:56:20 CEST 2025
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 at konsulko.com>
---
drivers/thermal/ti-lm74.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/ti-lm74.c b/drivers/thermal/ti-lm74.c
index 7d56f75df064..0310d3330c01 100644
--- 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,
--
2.43.0
More information about the U-Boot
mailing list