[PATCH 1/2] usb: dwc3: core: Fix warnings when building without driver model

Bedel, Alban alban.bedel at aerq.com
Wed Apr 20 08:17:06 CEST 2022


On Tue, 2022-04-19 at 10:01 +0200, Michael Walle wrote:
> Hi,
> 
> > +#if CONFIG_IS_ENABLED(DM_USB)
> >  static void dwc3_core_stop(struct dwc3 *dwc)
> 
> will __maybe_unused work?

Yes, I'll replace the #ifdef in the next version.

Alban
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3627 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220420/a2cc0a5a/attachment.bin>


More information about the U-Boot mailing list