[PATCH v2 11/38] include: Remove extern from addr_map.h

Priyanka Jain priyanka.jain at nxp.com
Mon Feb 22 09:16:46 CET 2021


>-----Original Message-----
>From: Bin Meng <bmeng.cn at gmail.com>
>Sent: Thursday, February 18, 2021 9:28 PM
>To: Simon Glass <sjg at chromium.org>; Alexander Graf <agraf at csgraf.de>;
>Priyanka Jain <priyanka.jain at nxp.com>
>Cc: U-Boot Mailing List <u-boot at lists.denx.de>; Tom Rini
><trini at konsulko.com>
>Subject: [PATCH v2 11/38] include: Remove extern from addr_map.h
>
>Remove the extern of the header because they are useless.
>
>Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>Reviewed-by: Simon Glass <sjg at chromium.org>
>---
>
>(no changes since v1)
>
> include/addr_map.h | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
>diff --git a/include/addr_map.h b/include/addr_map.h index
>d322dd2..85e737d 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
>--
>2.7.4

Reviewed-by: Priyanka Jain <priyanka.jain at nxp.com>



More information about the U-Boot mailing list