summaryrefslogtreecommitdiffstats
path: root/drivers/clk/versatile
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2013-01-04 14:17:15 +0000
committerPawel Moll <pawel.moll@arm.com>2013-01-30 15:55:45 +0000
commitda660b4a3b15caea9c198c4f26d1cf7023df92fc (patch)
tree55f6a7aa3b6ba54c9e48ba7f7a434996ad95dce3 /drivers/clk/versatile
parent949db153b6466c6f7cad5a427ecea94985927311 (diff)
downloadlinux-da660b4a3b15caea9c198c4f26d1cf7023df92fc.tar.gz
linux-da660b4a3b15caea9c198c4f26d1cf7023df92fc.tar.bz2
linux-da660b4a3b15caea9c198c4f26d1cf7023df92fc.zip
arm: Move sp810.h to include/linux/amba/
Since it is now used by code under drivers/clk/ it makes sense for this file to be in a more generic location. This is required for building vexpress support on arm64. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Pawel Moll <pawel.moll@arm.com> Cc: Shiraz Hashim <shiraz.hashim@st.com> Cc: Russell King <linux@arm.linux.org.uk> Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Diffstat (limited to 'drivers/clk/versatile')
-rw-r--r--drivers/clk/versatile/clk-vexpress.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/versatile/clk-vexpress.c b/drivers/clk/versatile/clk-vexpress.c
index c742ac7c60bb..4f83ff9ab2d9 100644
--- a/drivers/clk/versatile/clk-vexpress.c
+++ b/drivers/clk/versatile/clk-vexpress.c
@@ -11,6 +11,7 @@
* Copyright (C) 2012 ARM Limited
*/
+#include <linux/amba/sp810.h>
#include <linux/clkdev.h>
#include <linux/clk-provider.h>
#include <linux/err.h>
@@ -18,8 +19,6 @@
#include <linux/of_address.h>
#include <linux/vexpress.h>
-#include <asm/hardware/sp810.h>
-
static struct clk *vexpress_sp810_timerclken[4];
static DEFINE_SPINLOCK(vexpress_sp810_lock);