projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d419026
)
cmd: usb_mass_storage: Staticize do_usb_mass_storage()
author
Fabio Estevam
<fabio.estevam@nxp.com>
Sat, 28 May 2016 01:37:11 +0000
(22:37 -0300)
committer
Lukasz Majewski
<lukma@denx.de>
Sun, 18 Jun 2017 19:11:10 +0000
(21:11 +0200)
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>
cmd/usb_mass_storage.c
patch
|
blob
|
history
diff --git
a/cmd/usb_mass_storage.c
b/cmd/usb_mass_storage.c
index
cb5260b
..
3353f95
100644
(file)
--- 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;