diff options
author | Baoyou Xie | 2016-09-23 21:44:13 +0800 |
---|---|---|
committer | Greg Kroah-Hartman | 2016-09-27 12:20:17 +0200 |
commit | 35be784cdb9c81e9fa0c7cac3492069cadd6a726 (patch) | |
tree | 8694d34957fed96f3ccf23ea3186aae49f914a78 /drivers/usb | |
parent | 984f3be5910c640bbff469bb3d4679036fce6395 (diff) |
usb: core: hcd: add missing header dependencies
We get 1 warning when building kernel with W=1:
drivers/usb/core/hcd.c:2390:5: warning: no previous prototype for 'usb_bus_start_enum' [-Wmissing-prototypes]
In fact, these functions are declared in linux/usb/otg.h, so this patch
adds the missing header dependencies.
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/core/hcd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 746c47d86cf5..479e223f9cff 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core/hcd.c @@ -46,6 +46,7 @@ #include <linux/usb.h> #include <linux/usb/hcd.h> #include <linux/usb/phy.h> +#include <linux/usb/otg.h> #include "usb.h" |