From 65304aade8041c03859d0f7b210f2e2a4d46bec0 Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Mon, 21 Jan 2019 20:29:55 +0100 Subject: lib: lmb: rename lmb_get_unreserved_size to lmb_get_free_size As a follow-up, change the name of the newly introduced function 'lmb_get_unreserved_size' to 'lmb_get_free_size', which is more appropriate. Signed-off-by: Simon Goldschmidt [trini: Fix test/lib/lmb.c] Signed-off-by: Tom Rini --- include/lmb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/lmb.h') diff --git a/include/lmb.h b/include/lmb.h index 1bb003e35e8..e87c0b0ada0 100644 --- a/include/lmb.h +++ b/include/lmb.h @@ -40,7 +40,7 @@ extern phys_addr_t __lmb_alloc_base(struct lmb *lmb, phys_size_t size, ulong ali phys_addr_t max_addr); extern phys_addr_t lmb_alloc_addr(struct lmb *lmb, phys_addr_t base, phys_size_t size); -extern phys_size_t lmb_get_unreserved_size(struct lmb *lmb, phys_addr_t addr); +extern phys_size_t lmb_get_free_size(struct lmb *lmb, phys_addr_t addr); extern int lmb_is_reserved(struct lmb *lmb, phys_addr_t addr); extern long lmb_free(struct lmb *lmb, phys_addr_t base, phys_size_t size); -- cgit v1.2.3