diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-06-10 17:04:04 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-06-19 14:32:12 +0200 |
commit | b335fe681075bd6bd3e6842bad12a0ccb573dc4f (patch) | |
tree | 06cd0486adadb4678b009c675ce6b91d7550b468 /tools/buildman/README | |
parent | c6265f7f3410b5e5763181cdd123a3f6fcd9fd58 (diff) |
usb.h: Always declare usb function prototypes
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 enables CONFIG_DM_USB and various usb drivers.
One could argue that in the case of no controllers CONFIG_DM_USB should not
be set, but this problem is typically seen during bringup of boards which
do actually have usb controllers.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/buildman/README')
0 files changed, 0 insertions, 0 deletions