diff options
| author | Ilias Apalodimas <[email protected]> | 2024-12-18 09:02:37 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-12-30 13:21:55 -0600 |
| commit | 1a25191bc1381f320a359a5dc9c835dde4658175 (patch) | |
| tree | 7568cb0d3cf66d65e53aa1dc908b7c19c05a9105 /include | |
| parent | 3075708017dc2d1b735ed7c9556da6ff5070f14f (diff) | |
lmb: Rename _lmb_alloc_addr() to lmb_alloc_addr_flags()
lmb_alloc_addr_flags() is a wrapper for _lmb_alloc_addr() and it's the
only function using it. Rename _lmb_alloc_addr() to lmb_alloc_addr_flags()
and remove the wrapper.
Reviewed-by: Sam Protsenko <[email protected]>
Tested-by: Sam Protsenko <[email protected]>
Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/lmb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lmb.h b/include/lmb.h index a0e666a1f7c..d9d7435a431 100644 --- a/include/lmb.h +++ b/include/lmb.h @@ -125,7 +125,7 @@ phys_addr_t lmb_alloc_base(phys_size_t size, ulong align, phys_addr_t max_addr, * * Return: Base address on success, 0 on error. */ -phys_addr_t lmb_alloc_addr(phys_addr_t base, phys_size_t size, uint flags); +phys_addr_t lmb_alloc_addr(phys_addr_t base, phys_size_t size, u32 flags); /** * lmb_is_reserved_flags() - Test if address is in reserved region with flag |
