aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_gadget.c
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@nokia.com>2009-12-04 08:47:46 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 14:55:28 -0500
commit1b6c3b0fb242309bc77092be4a283513be115735 (patch)
tree5056e6224c26966f2e0aedb5da73466dfbae0a79 /drivers/usb/musb/musb_gadget.c
parentff85494b3f06a596a3f3b2f71841de0154799918 (diff)
USB: musb: musb_gadget: fix sparse warning
Fix the following sparse warnings: drivers/usb/musb/musb_gadget.c:1161:5: warning: symbol 'musb_gadget_set_halt' was not declared. Should it be static? drivers/usb/musb/musb_gadget.c:1244:5: warning: symbol 'musb_gadget_set_wedge' was not declared. Should it be static? Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/musb/musb_gadget.c')
-rw-r--r--drivers/usb/musb/musb_gadget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c
index 07d5dc97ff5e..c49b9ba025ab 100644
--- a/drivers/usb/musb/musb_gadget.c
+++ b/drivers/usb/musb/musb_gadget.c
@@ -1211,7 +1211,7 @@ done:
1211 * 1211 *
1212 * exported to ep0 code 1212 * exported to ep0 code
1213 */ 1213 */
1214int musb_gadget_set_halt(struct usb_ep *ep, int value) 1214static int musb_gadget_set_halt(struct usb_ep *ep, int value)
1215{ 1215{
1216 struct musb_ep *musb_ep = to_musb_ep(ep); 1216 struct musb_ep *musb_ep = to_musb_ep(ep);
1217 u8 epnum = musb_ep->current_epnum; 1217 u8 epnum = musb_ep->current_epnum;
@@ -1296,7 +1296,7 @@ done:
1296/* 1296/*
1297 * Sets the halt feature with the clear requests ignored 1297 * Sets the halt feature with the clear requests ignored
1298 */ 1298 */
1299int musb_gadget_set_wedge(struct usb_ep *ep) 1299static int musb_gadget_set_wedge(struct usb_ep *ep)
1300{ 1300{
1301 struct musb_ep *musb_ep = to_musb_ep(ep); 1301 struct musb_ep *musb_ep = to_musb_ep(ep);
1302 1302