summaryrefslogtreecommitdiff
path: root/drivers/sysreset/sysreset_socfpga_soc64.c
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-23 16:55:37 -0600
committerTom Rini <[email protected]>2026-04-07 11:32:56 -0600
commit8c212d6e2e778b4f294d1d9f85eac9680a66d463 (patch)
treeda6e286dd2bf5b06be4caf5cb5e6c0edee548e0b /drivers/sysreset/sysreset_socfpga_soc64.c
parent9eb3592cbcb318a84c8ed29e432dc01c69a2bc75 (diff)
global: Correct duplicate U_BOOT_DRIVER entry names
The U_BOOT_DRIVER macro creates a list of drivers used at link time, and all entries here must be unique. This in turn means that all entries in the code should also be unique in order to not lead to build failures later with unexpected build combinations. Typically, the problem we have here is when a driver is obviously based on another driver and didn't update this particular field and so while the name field reflects something unique the linker entry itself is not. In a few places this provides a more suitable string name as well, however. Reviewed-by: Marek Vasut <[email protected]> Reviewed-by: Svyatoslav Ryhel <[email protected]> # Tegra Reviewed-by: Peter Robinson <[email protected]> Reviewed-by: Heiko Schocher <[email protected]> Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers/sysreset/sysreset_socfpga_soc64.c')
-rw-r--r--drivers/sysreset/sysreset_socfpga_soc64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sysreset/sysreset_socfpga_soc64.c b/drivers/sysreset/sysreset_socfpga_soc64.c
index 6ce30d9eaf0..e1267ac118a 100644
--- a/drivers/sysreset/sysreset_socfpga_soc64.c
+++ b/drivers/sysreset/sysreset_socfpga_soc64.c
@@ -80,7 +80,7 @@ static struct sysreset_ops socfpga_sysreset = {
.request = socfpga_sysreset_request,
};
-U_BOOT_DRIVER(sysreset_socfpga) = {
+U_BOOT_DRIVER(sysreset_socfpga_soc64) = {
.id = UCLASS_SYSRESET,
.name = "socfpga_sysreset",
.ops = &socfpga_sysreset,