rtc: Make U_BOOT_DRIVER entries unique
authorTom Rini <trini@konsulko.com>
Thu, 25 Sep 2025 20:56:16 +0000 (14:56 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 8 Oct 2025 19:54:58 +0000 (13:54 -0600)
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>
drivers/rtc/ds1672.c

index 4705e5a..651b1dc 100644 (file)
@@ -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",
        .id     = UCLASS_RTC,
        .probe  = ds1672_probe,