]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
include: Remove extern from addr_map.h
authorBin Meng <bmeng.cn@gmail.com>
Thu, 25 Feb 2021 09:22:32 +0000 (17:22 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 5 Mar 2021 04:55:42 +0000 (10:25 +0530)
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>
include/addr_map.h

index d322dd222a2cd10794b58e86237703c9073611c0..85e737d0f61e4f3b007792f53cd4f88198af5f3b 100644 (file)
@@ -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