realtek: drop fixup_bigphys_addr from ioremap.h in 5.10
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Wed, 5 May 2021 06:20:03 +0000 (15:20 +0900)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 25 Sep 2021 22:32:17 +0000 (00:32 +0200)
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>
target/linux/realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/ioremap.h

index e7a5bfaffc9bb39b49082560dec7c36786aa3694..c49a095792337271a7321a9d199fb577c8aadd83 100644 (file)
@@ -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 */