diff options
| author | Tom Rini <[email protected]> | 2026-03-23 16:55:37 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-04-07 11:32:56 -0600 |
| commit | 8c212d6e2e778b4f294d1d9f85eac9680a66d463 (patch) | |
| tree | da6e286dd2bf5b06be4caf5cb5e6c0edee548e0b /drivers/usb/host/ehci-vf.c | |
| parent | 9eb3592cbcb318a84c8ed29e432dc01c69a2bc75 (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/usb/host/ehci-vf.c')
| -rw-r--r-- | drivers/usb/host/ehci-vf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-vf.c b/drivers/usb/host/ehci-vf.c index 5afe28ea303..96d1363a76e 100644 --- a/drivers/usb/host/ehci-vf.c +++ b/drivers/usb/host/ehci-vf.c @@ -344,7 +344,7 @@ static const struct udevice_id vf_usb_ids[] = { { } }; -U_BOOT_DRIVER(usb_ehci) = { +U_BOOT_DRIVER(ehci_vf) = { .name = "ehci_vf", .id = UCLASS_USB, .of_match = vf_usb_ids, |
