mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-23 18:32:07 +01:00
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:
parent
6e04cc321f
commit
78849ecc18
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user