mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-19 08:21:27 +01:00
rtc: 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 max313xx name. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
da93f8a078
commit
b7f35d3015
@ -108,7 +108,7 @@ static const struct udevice_id ds1672_of_id[] = {
|
|||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
U_BOOT_DRIVER(rtc_max313xx) = {
|
U_BOOT_DRIVER(rtc_ds1672) = {
|
||||||
.name = "rtc-ds1672",
|
.name = "rtc-ds1672",
|
||||||
.id = UCLASS_RTC,
|
.id = UCLASS_RTC,
|
||||||
.probe = ds1672_probe,
|
.probe = ds1672_probe,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user