]> git.sur5r.net Git - u-boot/commitdiff
cmd: usb_mass_storage: Staticize do_usb_mass_storage()
authorFabio Estevam <fabio.estevam@nxp.com>
Sat, 28 May 2016 01:37:11 +0000 (22:37 -0300)
committerLukasz 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

index cb5260b558c4227b8e5e0018a7f4150e436db76f..3353f95c74505bd44decca9f253105221c265d84 100644 (file)
@@ -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;