Commit da660b4a authored by Catalin Marinas's avatar Catalin Marinas Committed by Pawel Moll

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: default avatarCatalin Marinas <catalin.marinas@arm.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Acked-by: default avatarPawel Moll <pawel.moll@arm.com>
Cc: Shiraz Hashim <shiraz.hashim@st.com>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: default avatarPawel Moll <pawel.moll@arm.com>
parent 949db153
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
* warranty of any kind, whether express or implied. * warranty of any kind, whether express or implied.
*/ */
#include <linux/io.h> #include <linux/io.h>
#include <linux/amba/sp810.h>
#include <asm/system_misc.h> #include <asm/system_misc.h>
#include <asm/hardware/sp810.h>
#include <mach/spear.h> #include <mach/spear.h>
#include <mach/generic.h> #include <mach/generic.h>
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
* Copyright (C) 2012 ARM Limited * Copyright (C) 2012 ARM Limited
*/ */
#include <linux/amba/sp810.h>
#include <linux/clkdev.h> #include <linux/clkdev.h>
#include <linux/clk-provider.h> #include <linux/clk-provider.h>
#include <linux/err.h> #include <linux/err.h>
...@@ -18,8 +19,6 @@ ...@@ -18,8 +19,6 @@
#include <linux/of_address.h> #include <linux/of_address.h>
#include <linux/vexpress.h> #include <linux/vexpress.h>
#include <asm/hardware/sp810.h>
static struct clk *vexpress_sp810_timerclken[4]; static struct clk *vexpress_sp810_timerclken[4];
static DEFINE_SPINLOCK(vexpress_sp810_lock); static DEFINE_SPINLOCK(vexpress_sp810_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment