aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorFabio Estevam2016-05-27 22:37:11 -0300
committerLukasz Majewski2017-06-18 21:11:10 +0200
commitb9203429a04402bd03c48fa87670686ef7e7891d (patch)
tree0cd10edc28d5acafbc07baf5cfc978f03f32f8a4 /cmd
parentd419026a0275bf0a17367d414ca2e891f3c3386b (diff)
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 <fabio.estevam@nxp.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/usb_mass_storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/usb_mass_storage.c b/cmd/usb_mass_storage.c
index cb5260b558c..3353f95c745 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;