[openwrt/openwrt] realtek: drop fixup_bigphys_addr from ioremap.h in 5.10

LEDE Commits lede-commits at lists.infradead.org
Sat Sep 25 15:37:30 PDT 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/781f50705c05d18eab48b2bc885e01608030e19b

commit 781f50705c05d18eab48b2bc885e01608030e19b
Author: INAGAKI Hiroshi <musashino.open at gmail.com>
AuthorDate: Wed May 5 15:20:03 2021 +0900

    realtek: drop fixup_bigphys_addr from ioremap.h in 5.10
    
    A macro with the same name is provided in asm/pgtable.h in Kernel 5.10,
    use it and drop from ioremap.h.
    
    Signed-off-by: INAGAKI Hiroshi <musashino.open at gmail.com>
---
 .../realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/ioremap.h  | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/target/linux/realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/ioremap.h b/target/linux/realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/ioremap.h
index e7a5bfaffc..c49a095792 100644
--- a/target/linux/realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/ioremap.h
+++ b/target/linux/realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/ioremap.h
@@ -2,11 +2,6 @@
 #ifndef RTL838X_IOREMAP_H_
 #define RTL838X_IOREMAP_H_
 
-static inline phys_addr_t fixup_bigphys_addr(phys_addr_t phys_addr, phys_addr_t size)
-{
-	return phys_addr;
-}
-
 static inline int is_rtl838x_internal_registers(phys_addr_t offset)
 {
 	/* IO-Block */



More information about the lede-commits mailing list