Re: [U-Boot] [PATCH v2] usb.h: Always declare usb function prototypes

2015-06-19 Thread Marek Vasut
On Wednesday, June 10, 2015 at 05:04:04 PM, Hans de Goede wrote: There is no harm in declaring the function prototypes even if nothing implements them, and when CONFIG_DM_USB=y the various usb functions are available regardless of any controller drivers being enabled. This fixes compile

[U-Boot] [PATCH v2] usb.h: Always declare usb function prototypes

2015-06-10 Thread Hans de Goede
There is no harm in declaring the function prototypes even if nothing implements them, and when CONFIG_DM_USB=y the various usb functions are available regardless of any controller drivers being enabled. This fixes compile warnings due to missing prototypes on ARCHs where the ARCH Kconfig always