]> git.karo-electronics.de Git - linux-beck.git/commit
usb: gadget: configfs: include appropriate header file in configfs.c
authorRashika Kheria <rashika.kheria@gmail.com>
Thu, 19 Dec 2013 10:07:37 +0000 (15:37 +0530)
committerFelipe Balbi <balbi@ti.com>
Thu, 19 Dec 2013 15:27:42 +0000 (09:27 -0600)
commit0009e99ab7f505fefdade85d65b982774d41c06d
tree24da4dc63c1af8f168dc9999ecdf3f2c17c3d915
parent13518673f1419f2667985a6fca4543e44143408b
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>
drivers/usb/gadget/configfs.c