]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mips: fix PCI_IOBASE definition
authorArnd Bergmann <arnd@arndb.de>
Tue, 18 Mar 2025 21:15:35 +0000 (22:15 +0100)
committerArnd Bergmann <arnd@arndb.de>
Tue, 18 Mar 2025 21:42:42 +0000 (22:42 +0100)
commitac4e3b09c90480e17939f432da37a5328bad76ab
treec6cdd71bc2e21480de30c53c083be793acd6f17a
parent9d48cc07d0d7f72d4d44c75f5f7d3471d60f2213
mips: fix PCI_IOBASE definition

After my previous patch, the ioport_map() function changed from
the lib/iomap.c version to the asm-generic/io.h version, which
requires a correct PCI_IOBASE definition.

Unfortunately the types are also different, so add the correct
definition for ioport_map() in asm/io.h and change the machine
specific ones to have the correct type.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/mips/include/asm/io.h
arch/mips/include/asm/mach-loongson64/spaces.h
arch/mips/include/asm/mach-ralink/spaces.h
arch/mips/loongson64/init.c