diff options
| author | Tom Rini <[email protected]> | 2025-09-25 14:56:16 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-10-08 13:54:58 -0600 |
| commit | b7f35d30155c05d11e08c972fedaa86b11a226e6 (patch) | |
| tree | 3790ed2f4b903f4de69764b8c68c9c1dbbf485ae /drivers/rtc | |
| parent | da93f8a078b40096da740562d3c5c2104f8f3696 (diff) | |
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 <[email protected]>
Diffstat (limited to 'drivers/rtc')
| -rw-r--r-- | drivers/rtc/ds1672.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/ds1672.c b/drivers/rtc/ds1672.c index 4705e5abc93..651b1dc950f 100644 --- a/drivers/rtc/ds1672.c +++ b/drivers/rtc/ds1672.c @@ -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, |
