summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-hcd.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-06-10 17:04:04 +0200
committerMarek Vasut <marex@denx.de>2015-06-19 14:32:12 +0200
commitb335fe681075bd6bd3e6842bad12a0ccb573dc4f (patch)
tree06cd0486adadb4678b009c675ce6b91d7550b468 /drivers/usb/host/ehci-hcd.c
parentc6265f7f3410b5e5763181cdd123a3f6fcd9fd58 (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 'drivers/usb/host/ehci-hcd.c')
0 files changed, 0 insertions, 0 deletions