On 05/16/2016 02:51 PM, Masahiro Yamada wrote: > If xhci.h is included without include/usb.h, the compiler > complains like follows: > warning: 'struct devrequest' declared inside parameter list > > We have two options to teach the compiler that devrequest is > a structure: > > [1] Declare "struct devrequest;" in xhci.h > > [2] Include <include/usb.h> from xhci.h > > This commit takes [1] because nothing else in xhci.h depends on > include/usb.h. [2] would require the compiler additional header > parsing. > > Signed-off-by: Masahiro Yamada <[email protected]>
Applied, thanks! -- Best regards, Marek Vasut _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

