]> Pileus Git - ~andy/linux/commit
usb: gadget: tcm_usb_gadget: mark bot_cleanup_old_alt static
authorFelipe Balbi <balbi@ti.com>
Mon, 25 Nov 2013 17:19:41 +0000 (11:19 -0600)
committerFelipe Balbi <balbi@ti.com>
Mon, 25 Nov 2013 17:19:41 +0000 (11:19 -0600)
commit3f79265c964ed501cd61eddfc893262d04a6aa4a
treedf8fd8f35d1fa9ac1bfc452e236e175ed78dd6b0
parent63b12e3ecebd2904ee2e6c59911c7a44a0b18fa5
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>
drivers/usb/gadget/tcm_usb_gadget.c