summaryrefslogtreecommitdiff
path: root/arch/mips/sgi-ip27/ip27-hubio.c
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tbogendoerfer@suse.de>2020-01-09 15:33:40 +0300
committerPaul Burton <paulburton@kernel.org>2020-01-10 02:29:50 +0300
commitb78e9d63a3b6307b6b786e6ba189d3978b60ceb5 (patch)
tree25330465375907f3014724f914b3a54f9f94e142 /arch/mips/sgi-ip27/ip27-hubio.c
parentd6972bb477544bea3fa0124ae88fd9a9d131a213 (diff)
downloadlinux-b78e9d63a3b6307b6b786e6ba189d3978b60ceb5.tar.xz
MIPS: SGI-IP27: use asm/sn/agent.h for including HUB related stuff
By including agent.h where hub related defines/structs are needed, we have only one place to select, which agent chip (HUB or BEDROCK) is used. Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by: Paul Burton <paulburton@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/mips/sgi-ip27/ip27-hubio.c')
-rw-r--r--arch/mips/sgi-ip27/ip27-hubio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/sgi-ip27/ip27-hubio.c b/arch/mips/sgi-ip27/ip27-hubio.c
index a538d0ceb61d..298cfdf8b44e 100644
--- a/arch/mips/sgi-ip27/ip27-hubio.c
+++ b/arch/mips/sgi-ip27/ip27-hubio.c
@@ -11,7 +11,9 @@
#include <linux/mmzone.h>
#include <asm/sn/addrs.h>
#include <asm/sn/arch.h>
-#include <asm/sn/hub.h>
+#include <asm/sn/agent.h>
+#include <asm/sn/io.h>
+#include <asm/xtalk/xtalk.h>
static int force_fire_and_forget = 1;