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 <trini@konsulko.com>
This commit is contained in:
Tom Rini 2025-09-25 14:56:20 -06:00
parent 6e04cc321f
commit 78849ecc18

View File

@ -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,