arm: Move sp810.h to include/linux/amba/
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 4 Jan 2013 14:17:15 +0000 (14:17 +0000)
committerPawel Moll <pawel.moll@arm.com>
Wed, 30 Jan 2013 15:55:45 +0000 (15:55 +0000)
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>
arch/arm/plat-spear/restart.c
drivers/clk/versatile/clk-vexpress.c
include/linux/amba/sp810.h [moved from arch/arm/include/asm/hardware/sp810.h with 100% similarity]

index 4f99011..7d4616d 100644 (file)
@@ -11,8 +11,8 @@
  * warranty of any kind, whether express or implied.
  */
 #include <linux/io.h>
+#include <linux/amba/sp810.h>
 #include <asm/system_misc.h>
-#include <asm/hardware/sp810.h>
 #include <mach/spear.h>
 #include <mach/generic.h>
 
index c742ac7..4f83ff9 100644 (file)
@@ -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);