From: Fabio Estevam Date: Sat, 28 May 2016 01:37:11 +0000 (-0300) Subject: cmd: usb_mass_storage: Staticize do_usb_mass_storage() X-Git-Tag: v2017.07-rc2~2^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b9203429a04402bd03c48fa87670686ef7e7891d;p=u-boot cmd: usb_mass_storage: Staticize do_usb_mass_storage() Make do_usb_mass_storage() static to fix the following sparse warning: cmd/usb_mass_storage.c:136:5: warning: symbol 'do_usb_mass_storage' was not declared. Should it be static? Signed-off-by: Fabio Estevam --- diff --git a/cmd/usb_mass_storage.c b/cmd/usb_mass_storage.c index cb5260b558..3353f95c74 100644 --- a/cmd/usb_mass_storage.c +++ b/cmd/usb_mass_storage.c @@ -133,7 +133,7 @@ cleanup: return ret; } -int do_usb_mass_storage(cmd_tbl_t *cmdtp, int flag, +static int do_usb_mass_storage(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { const char *usb_controller;