From: Baoyou Xie Date: Fri, 23 Sep 2016 13:44:13 +0000 (+0800) Subject: usb: core: hcd: add missing header dependencies X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=35be784cdb9c81e9fa0c7cac3492069cadd6a726;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- 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 #include #include +#include #include "usb.h"