From: Rashika Kheria Date: Thu, 19 Dec 2013 10:07:37 +0000 (+0530) Subject: usb: gadget: configfs: include appropriate header file in configfs.c X-Git-Tag: v3.14-rc1~148^2~90^2~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0009e99ab7f505fefdade85d65b982774d41c06d;p=kernel%2Fkernel-generic.git usb: gadget: configfs: include appropriate header file in configfs.c Include appropriate header file drivers/usb/gadget/configfs.h in gadget/configfs.c because function unregister_gadget_item() has its prototype declaration in gadget/configfs.h. This eliminates the following warning in gadget/configfs.c: drivers/usb/gadget/configfs.c:994:6: warning: no previous prototype for ‘unregister_gadget_item’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/configfs.c b/drivers/usb/gadget/configfs.c index d6c8ab4..7d1cc01 100644 --- a/drivers/usb/gadget/configfs.c +++ b/drivers/usb/gadget/configfs.c @@ -4,6 +4,7 @@ #include #include #include +#include "configfs.h" int check_user_usb_string(const char *name, struct usb_gadget_strings *stringtab_dev)