• Baoquan He's avatar
    mips: io: remove duplicated codes · aea72963
    Baoquan He authored
    By adding <asm-generic/io.h> support, the duplicated phys_to_virt
    can be removed to use the default version in <asm-gneneric/io.h>.
    
    Meanwhile move isa_bus_to_virt() down below <asm-generic/io.h> including
    to fix the compiling error of missing phys_to_virt definition.
    Signed-off-by: default avatarBaoquan He <bhe@redhat.com>
    Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
    Acked-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
    Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Helge Deller <deller@gmx.de>
    Cc: Serge Semin <fancer.lancer@gmail.com>
    Cc: Florian Fainelli <f.fainelli@gmail.com>
    Cc: Huacai Chen <chenhuacai@kernel.org>
    Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
    Cc: linux-mips@vger.kernel.org
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    aea72963
io.h 16.6 KB