summaryrefslogtreecommitdiff
path: root/drivers/of
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-02-11 14:35:45 +0100
committerRob Herring <robh@kernel.org>2019-02-28 11:40:49 -0600
commit221e1e0b016529f33b0d1bbf7d07c54463b55ca6 (patch)
tree5dac01c1ed45777b6fc90476aa182f07b579812c /drivers/of
parent87143fce31240242d97f2c3cb1b61601a38bf7ea (diff)
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 <hch@lst.de> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/of_reserved_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/of_reserved_mem.c b/drivers/of/of_reserved_mem.c
index 9e02a5d80225..e773063c6de9 100644
--- a/drivers/of/of_reserved_mem.c
+++ b/drivers/of/of_reserved_mem.c
@@ -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)
{