diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2023-09-21 19:04:22 +0800 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2023-11-23 10:32:52 +0100 |
commit | 4bfb53e7d317c01f296b2feb2fae7c421c1d52dc (patch) | |
tree | e6ad32a53f1752938118bbeef3cf951252acdb90 /arch/mips/pci | |
parent | b85ea95d086471afb4ad062012a4d73cd328fa86 (diff) | |
download | linux-4bfb53e7d317c01f296b2feb2fae7c421c1d52dc.tar.gz linux-4bfb53e7d317c01f296b2feb2fae7c421c1d52dc.tar.bz2 linux-4bfb53e7d317c01f296b2feb2fae7c421c1d52dc.zip |
mips: add <asm-generic/io.h> including
With the adding, some default ioremap_xx methods defined in
asm-generic/io.h can be used. E.g the default ioremap_uc() returning
NULL.
We also massaged various headers to avoid nested includes.
Signed-off-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
[jiaxun.yang@flygoat.com: Massage more headers, fix ioport defines]
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-arch@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/mips/pci')
-rw-r--r-- | arch/mips/pci/pci-ip27.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/pci/pci-ip27.c b/arch/mips/pci/pci-ip27.c index d85cbf84e41c..973faea61cad 100644 --- a/arch/mips/pci/pci-ip27.c +++ b/arch/mips/pci/pci-ip27.c @@ -7,6 +7,9 @@ * Copyright (C) 1999, 2000, 04 Ralf Baechle (ralf@linux-mips.org) * Copyright (C) 1999, 2000 Silicon Graphics, Inc. */ + +#include <linux/io.h> + #include <asm/sn/addrs.h> #include <asm/sn/types.h> #include <asm/sn/klconfig.h> |