diff options
author | Sughosh Ganu <sughosh.ganu@linaro.org> | 2025-06-17 16:13:42 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-06-25 09:50:37 -0600 |
commit | 3faffba6f19834bdda12b7942e545ff4a4a6e18b (patch) | |
tree | e4010e13a03c528a61e6256d4c84f1b401243294 /lib/lmb.c | |
parent | 6e4675b8e5d8d52d871042d6ac3429d6d1daf875 (diff) |
lmb: staticise lmb_add_memory()
lmb_add_memory() is only called from the lmb module. Mark the function
as static.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'lib/lmb.c')
-rw-r--r-- | lib/lmb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lmb.c b/lib/lmb.c index a30ae64f8cd..3265fad317d 100644 --- a/lib/lmb.c +++ b/lib/lmb.c @@ -605,7 +605,7 @@ static __maybe_unused void lmb_reserve_common_spl(void) } } -void lmb_add_memory(void) +static void lmb_add_memory(void) { int i; phys_addr_t bank_end; |