[PATCH] global: Correct duplicate U_BOOT_DRIVER entry names
Tom Rini
trini at konsulko.com
Tue Mar 24 15:59:10 CET 2026
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260324/1e2ac385/attachment.sig>
More information about the U-Boot
mailing list