common: commands: make commands static
Since most commands are not public, make them static. This prevents warnings that no common prototype is available. Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
This commit is contained in:
@@ -20,7 +20,7 @@ void __weak invalidate_icache_all(void)
|
||||
puts("No arch specific invalidate_icache_all available!\n");
|
||||
}
|
||||
|
||||
int do_icache(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
static int do_icache(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
{
|
||||
switch (argc) {
|
||||
case 2: /* on / off */
|
||||
@@ -52,7 +52,7 @@ void __weak flush_dcache_all(void)
|
||||
/* please define arch specific flush_dcache_all */
|
||||
}
|
||||
|
||||
int do_dcache(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
static int do_dcache(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
{
|
||||
switch (argc) {
|
||||
case 2: /* on / off */
|
||||
|
||||
Reference in New Issue
Block a user