diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2013-12-19 15:37:37 +0530 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-12-19 09:27:42 -0600 |
commit | 0009e99ab7f505fefdade85d65b982774d41c06d (patch) | |
tree | 24da4dc63c1af8f168dc9999ecdf3f2c17c3d915 /drivers/usb/gadget/configfs.c | |
parent | 13518673f1419f2667985a6fca4543e44143408b (diff) | |
download | linux-0009e99ab7f505fefdade85d65b982774d41c06d.tar.bz2 |
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 <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/configfs.c')
-rw-r--r-- | drivers/usb/gadget/configfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/configfs.c b/drivers/usb/gadget/configfs.c index d6c8ab4a5327..7d1cc01796b6 100644 --- a/drivers/usb/gadget/configfs.c +++ b/drivers/usb/gadget/configfs.c @@ -4,6 +4,7 @@ #include <linux/device.h> #include <linux/usb/composite.h> #include <linux/usb/gadget_configfs.h> +#include "configfs.h" int check_user_usb_string(const char *name, struct usb_gadget_strings *stringtab_dev) |