summaryrefslogtreecommitdiffstats
path: root/common/cmd_cache.c
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-06-23 00:22:08 +0200
committerTom Rini <trini@ti.com>2014-07-18 17:53:23 -0400
commit0e350f81e1ca7d103fd9685725f9c4b0d9e80632 (patch)
tree05af9f8bb5f3a0c4cc03c7624880d6ee7927b93c /common/cmd_cache.c
parente259d6a320d0280f02966b8bc35316fb136c5e24 (diff)
downloadblackbird-obmc-uboot-0e350f81e1ca7d103fd9685725f9c4b0d9e80632.tar.gz
blackbird-obmc-uboot-0e350f81e1ca7d103fd9685725f9c4b0d9e80632.zip
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>
Diffstat (limited to 'common/cmd_cache.c')
-rw-r--r--common/cmd_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_cache.c b/common/cmd_cache.c
index 602fecaba2..37ab345cb6 100644
--- a/common/cmd_cache.c
+++ b/common/cmd_cache.c
@@ -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 */
OpenPOWER on IntegriCloud