summaryrefslogtreecommitdiffstats
path: root/include/addr_map.h
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2021-02-25 17:22:32 +0800
committerPriyanka Jain <priyanka.jain@nxp.com>2021-03-05 10:25:42 +0530
commitc40131acc030ac9b1bf0704306aa18295d44ff2a (patch)
treec571985009ffab2495c8f2738acb2de2e09de1be /include/addr_map.h
parentd8a61a7f32e724613ba6be117160b29641bfbd49 (diff)
downloadu-boot-c40131acc030ac9b1bf0704306aa18295d44ff2a.tar.gz
u-boot-c40131acc030ac9b1bf0704306aa18295d44ff2a.tar.xz
u-boot-c40131acc030ac9b1bf0704306aa18295d44ff2a.zip
include: Remove extern from addr_map.h
Remove the extern of the header because they are useless. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'include/addr_map.h')
-rw-r--r--include/addr_map.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/addr_map.h b/include/addr_map.h
index d322dd222a..85e737d0f6 100644
--- a/include/addr_map.h
+++ b/include/addr_map.h
@@ -8,9 +8,9 @@
#include <asm/types.h>
-extern phys_addr_t addrmap_virt_to_phys(void *vaddr);
-extern void *addrmap_phys_to_virt(phys_addr_t paddr);
-extern void addrmap_set_entry(unsigned long vaddr, phys_addr_t paddr,
- phys_size_t size, int idx);
+phys_addr_t addrmap_virt_to_phys(void *vaddr);
+void *addrmap_phys_to_virt(phys_addr_t paddr);
+void addrmap_set_entry(unsigned long vaddr, phys_addr_t paddr,
+ phys_size_t size, int idx);
#endif