usb: gadget: tcm_usb_gadget: mark bot_cleanup_old_alt static

that symbol is only used inside this function driver,
we should mark it static. Fixes sparse's:

drivers/usb/gadget/tcm_usb_gadget.c:373:6: warning: symbol \
	'bot_cleanup_old_alt' was not declared. Should it \
	be static?

Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
Felipe Balbi 2013-11-25 11:19:41 -06:00
parent 63b12e3ece
commit 3f79265c96
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ err:
return -ENOMEM;
}
void bot_cleanup_old_alt(struct f_uas *fu)
static void bot_cleanup_old_alt(struct f_uas *fu)
{
if (!(fu->flags & USBG_ENABLED))
return;