summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorRashika Kheria <rashika.kheria@gmail.com>2013-12-19 15:37:37 +0530
committerChanho Park <chanho61.park@samsung.com>2014-03-20 17:43:31 +0900
commit6223d9258b52fd63195de7724ef1d4d862b53358 (patch)
treeaeb2e485948071d4f7fed7f3648dedbce399e7e0 /drivers/usb
parent8ffb8b86ef6d3fe85f911e1b029f1849197d2dae (diff)
downloadlinux-3.10-6223d9258b52fd63195de7724ef1d4d862b53358.tar.gz
linux-3.10-6223d9258b52fd63195de7724ef1d4d862b53358.tar.bz2
linux-3.10-6223d9258b52fd63195de7724ef1d4d862b53358.zip
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')
-rw-r--r--drivers/usb/gadget/configfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/configfs.c b/drivers/usb/gadget/configfs.c
index d6c8ab4a532..7d1cc01796b 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)