From: Tom Rini Date: Thu, 25 Sep 2025 20:56:20 +0000 (-0600) Subject: thermal: Make U_BOOT_DRIVER entries unique X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=78849ecc185610a89e2294265f42b75f84e4324d;p=thirdparty%2Fu-boot.git thermal: 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 ti_bandgap name. Signed-off-by: Tom Rini --- diff --git a/drivers/thermal/ti-lm74.c b/drivers/thermal/ti-lm74.c index 7d56f75df06..0310d3330c0 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,