Re: [U-Boot] [PATCH] dm: usb.h: Always declare usb func. prototypes when CONFIG_DM_USB=y

2015-06-08 Thread Marek Vasut
On Monday, June 08, 2015 at 05:55:31 PM, Hans de Goede wrote: Hi, On 08-06-15 16:04, Marek Vasut wrote: On Monday, June 08, 2015 at 03:24:34 PM, Hans de Goede wrote: Hi, On 07-06-15 15:05, Marek Vasut wrote: On Saturday, June 06, 2015 at 10:21:22 AM, Hans de Goede wrote: When

Re: [U-Boot] [PATCH] dm: usb.h: Always declare usb func. prototypes when CONFIG_DM_USB=y

2015-06-08 Thread Marek Vasut
On Monday, June 08, 2015 at 03:24:34 PM, Hans de Goede wrote: Hi, On 07-06-15 15:05, Marek Vasut wrote: On Saturday, June 06, 2015 at 10:21:22 AM, Hans de Goede wrote: When CONFIG_DM_USB=y the various usb functions are available regardless of any controller drivers being enabled, so

Re: [U-Boot] [PATCH] dm: usb.h: Always declare usb func. prototypes when CONFIG_DM_USB=y

2015-06-08 Thread Hans de Goede
Hi, On 07-06-15 15:05, Marek Vasut wrote: On Saturday, June 06, 2015 at 10:21:22 AM, Hans de Goede wrote: When CONFIG_DM_USB=y the various usb functions are available regardless of any controller drivers being enabled, so always the usb function prototypes when CONFIG_DM_USB=y. This fixes

Re: [U-Boot] [PATCH] dm: usb.h: Always declare usb func. prototypes when CONFIG_DM_USB=y

2015-06-08 Thread Hans de Goede
Hi, On 08-06-15 16:04, Marek Vasut wrote: On Monday, June 08, 2015 at 03:24:34 PM, Hans de Goede wrote: Hi, On 07-06-15 15:05, Marek Vasut wrote: On Saturday, June 06, 2015 at 10:21:22 AM, Hans de Goede wrote: When CONFIG_DM_USB=y the various usb functions are available regardless of any

Re: [U-Boot] [PATCH] dm: usb.h: Always declare usb func. prototypes when CONFIG_DM_USB=y

2015-06-07 Thread Marek Vasut
On Saturday, June 06, 2015 at 10:21:22 AM, Hans de Goede wrote: When CONFIG_DM_USB=y the various usb functions are available regardless of any controller drivers being enabled, so always the usb function prototypes when CONFIG_DM_USB=y. This fixes compile warnings due to missing prototypes

[U-Boot] [PATCH] dm: usb.h: Always declare usb func. prototypes when CONFIG_DM_USB=y

2015-06-06 Thread Hans de Goede
When CONFIG_DM_USB=y the various usb functions are available regardless of any controller drivers being enabled, so always the usb function prototypes when CONFIG_DM_USB=y. This fixes compile warnings due to missing prototypes on ARCHs where the ARCH Kconfig always enables CONFIG_DM_USB and