summaryrefslogtreecommitdiffstats
path: root/arch/mips/pistachio/time.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2017-08-13 06:36:36 +0200
committerRalf Baechle <ralf@linux-mips.org>2017-09-04 13:53:14 +0200
commitdd0163508c07a67b28befe5af23d7ab9941ae8ca (patch)
treedfa5b248cfbebcfb65976980c089e6ae1b508d05 /arch/mips/pistachio/time.c
parentirqchip: mips-gic: Remove gic_present (diff)
downloadlinux-dd0163508c07a67b28befe5af23d7ab9941ae8ca.tar.xz
linux-dd0163508c07a67b28befe5af23d7ab9941ae8ca.zip
irqchip: mips-gic: Move gic_get_c0_*_int() to asm/mips-gic.h
The linux/irqchip/mips-gic.h header is now almost empty. Move the declarations of gic_get_c0_compare_int(), gic_get_c0_perfcount_int() & gic_get_c0_fdc_int() to asm/mips-gic.h in order to close in on being able to delete the former header. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/17046/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pistachio/time.c')
-rw-r--r--arch/mips/pistachio/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pistachio/time.c b/arch/mips/pistachio/time.c
index 17a0f1dec05b..8a6af9b76202 100644
--- a/arch/mips/pistachio/time.c
+++ b/arch/mips/pistachio/time.c
@@ -12,9 +12,9 @@
#include <linux/clk-provider.h>
#include <linux/clocksource.h>
#include <linux/init.h>
-#include <linux/irqchip/mips-gic.h>
#include <linux/of.h>
+#include <asm/mips-cps.h>
#include <asm/time.h>
unsigned int get_c0_compare_int(void)