diff options
Diffstat (limited to 'common/shared_mem.c')
-rw-r--r-- | common/shared_mem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/shared_mem.c b/common/shared_mem.c index 219019ef62..4060b68a58 100644 --- a/common/shared_mem.c +++ b/common/shared_mem.c @@ -52,6 +52,7 @@ void shared_mem_release(void *ptr) buf_in_use = 0; } +#ifdef CONFIG_CMD_SHMEM static int command_shmem(int argc, char **argv) { ccprintf("Size:%6d\n", shared_mem_size()); @@ -63,3 +64,4 @@ DECLARE_CONSOLE_COMMAND(shmem, command_shmem, NULL, "Print shared memory stats", NULL); +#endif |