ANDROID: memblock: Remove memblock_end_of_DRAM() export
It causes the following warning: WARNING: modpost: vmlinux: memblock_end_of_DRAM: EXPORT_SYMBOL used for init symbol. Remove __init or EXPORT_SYMBOL. If this 4 year old symbol is still required, it can be properly brought back. Bug: 171499373 Signed-off-by: Lee Jones <joneslee@google.com> Change-Id: Ie6742967f17cca2c2417e9a9bf1cabe4f5287758
This commit is contained in:
@@ -1751,7 +1751,6 @@ phys_addr_t __init_memblock memblock_end_of_DRAM(void)
|
||||
|
||||
return (memblock.memory.regions[idx].base + memblock.memory.regions[idx].size);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(memblock_end_of_DRAM);
|
||||
|
||||
static phys_addr_t __init_memblock __find_max_addr(phys_addr_t limit)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user