of: mark early_init_dt_alloc_reserved_memory_arch static

This function is only used in of_reserved_mem.c, and never overridden
despite the __weak marker.

Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
This commit is contained in:
Christoph Hellwig 2019-02-11 14:35:45 +01:00 • committed by Rob Herring
commit 221e1e0b01
2 changed files with 1 additions and 8 deletions

View file

@ -26,7 +26,7 @@
static struct reserved_mem reserved_mem[MAX_RESERVED_REGIONS];
static int reserved_mem_count;
int __init __weak early_init_dt_alloc_reserved_memory_arch(phys_addr_t size,
static int __init early_init_dt_alloc_reserved_memory_arch(phys_addr_t size,
phys_addr_t align, phys_addr_t start, phys_addr_t end, bool nomap,
phys_addr_t *res_base)
{