Skip to content

Commit da660b4

Browse files
ctmarinaspawelmoll
authored andcommitted
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>
1 parent 949db15 commit da660b4

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎arch/arm/plat-spear/restart.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
* warranty of any kind, whether express or implied.
1212
*/
1313
#include <linux/io.h>
14+
#include <linux/amba/sp810.h>
1415
#include <asm/system_misc.h>
15-
#include <asm/hardware/sp810.h>
1616
#include <mach/spear.h>
1717
#include <mach/generic.h>
1818

‎drivers/clk/versatile/clk-vexpress.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,14 @@
1111
* Copyright (C) 2012 ARM Limited
1212
*/
1313

14+
#include <linux/amba/sp810.h>
1415
#include <linux/clkdev.h>
1516
#include <linux/clk-provider.h>
1617
#include <linux/err.h>
1718
#include <linux/of.h>
1819
#include <linux/of_address.h>
1920
#include <linux/vexpress.h>
2021

21-
#include <asm/hardware/sp810.h>
22-
2322
static struct clk *vexpress_sp810_timerclken[4];
2423
static DEFINE_SPINLOCK(vexpress_sp810_lock);
2524

0 commit comments

Comments
 (0)