aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2021-05-05 15:20:03 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-09-26 00:32:17 +0200
commit781f50705c05d18eab48b2bc885e01608030e19b (patch)
treed383e8a523ebbed2a740cfc05b55a885141cf6ce
parent2ec38bfea1f5a66848a086f1cc09844c66512847 (diff)
downloadupstream-781f50705c05d18eab48b2bc885e01608030e19b.tar.gz
upstream-781f50705c05d18eab48b2bc885e01608030e19b.tar.bz2
upstream-781f50705c05d18eab48b2bc885e01608030e19b.zip
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@gmail.com>
-rw-r--r--target/linux/realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/ioremap.h5
1 files changed, 0 insertions, 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 */