Re: [PATCH] global: Correct duplicate U_BOOT_DRIVER entry names

Tom Rini
2026-03-24T14:59:20Z

[-- Attachment #1: Type: text/plain, Size: 962 bytes --]

On Tue, Mar 24, 2026 at 12:28:13AM +0100, Marek Vasut wrote:
>
> [...]
>
> > diff --git a/drivers/usb/dwc3/dwc3-meson-g12a.c b/drivers/usb/dwc3/dwc3-meson-g12a.c
> > index 41d15996e5b2..49e9c3fa0e99 100644
> > --- a/drivers/usb/dwc3/dwc3-meson-g12a.c
> > +++ b/drivers/usb/dwc3/dwc3-meson-g12a.c
> > @@ -533,7 +533,7 @@ static const struct udevice_id dwc3_meson_g12a_ids[] = {
> > { }
> > };
> > -U_BOOT_DRIVER(dwc3_generic_wrapper) = {
> > +U_BOOT_DRIVER(dwc3_meson_g12a) = {
>
> Could you please add usb_ as a prefix in front those usb drivers ?

As we talked about on IRC a bit, globally we're not consistent with
prefix or suffix or nothing. Your suggestion of a new macro that takes
the uclass name and rest of the driver name and constructs U_BOOT_DRIVER
from that sounds great and would be a good general improvement. If you
can file an issue about it please I'll try and find some time to look in
to doing that.

--
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]