aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2014-06-20 12:53:01 -0400
committerSimon Horman <horms+renesas@verge.net.au>2014-06-25 03:47:43 -0400
commit96bd090066e2150f3970b32f35895de2ab631c95 (patch)
tree12f755b2233257a723085c734d182c5ff3a318fd
parentd83fa4c9c27c4d8612e39e99506b5420fa05b58b (diff)
ARM: shmobile: Move r7s72100.h
Change location of r7s72100.h so it can be included using "r7s72100.h" instead of the old style <mach/r7s72100.h>. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm/mach-shmobile/board-genmai-reference.c4
-rw-r--r--arch/arm/mach-shmobile/board-genmai.c4
-rw-r--r--arch/arm/mach-shmobile/clock-r7s72100.c3
-rw-r--r--arch/arm/mach-shmobile/r7s72100.h (renamed from arch/arm/mach-shmobile/include/mach/r7s72100.h)0
-rw-r--r--arch/arm/mach-shmobile/setup-r7s72100.c4
5 files changed, 11 insertions, 4 deletions
diff --git a/arch/arm/mach-shmobile/board-genmai-reference.c b/arch/arm/mach-shmobile/board-genmai-reference.c
index c06dc5c12d1e..e5448f7b868a 100644
--- a/arch/arm/mach-shmobile/board-genmai-reference.c
+++ b/arch/arm/mach-shmobile/board-genmai-reference.c
@@ -20,11 +20,13 @@
20 20
21#include <linux/kernel.h> 21#include <linux/kernel.h>
22#include <linux/of_platform.h> 22#include <linux/of_platform.h>
23#include <mach/r7s72100.h> 23
24#include <asm/mach-types.h> 24#include <asm/mach-types.h>
25#include <asm/mach/arch.h> 25#include <asm/mach/arch.h>
26
26#include "clock.h" 27#include "clock.h"
27#include "common.h" 28#include "common.h"
29#include "r7s72100.h"
28 30
29/* 31/*
30 * This is a really crude hack to provide clkdev support to platform 32 * This is a really crude hack to provide clkdev support to platform
diff --git a/arch/arm/mach-shmobile/board-genmai.c b/arch/arm/mach-shmobile/board-genmai.c
index a0994f36b348..e2a3ba4871c3 100644
--- a/arch/arm/mach-shmobile/board-genmai.c
+++ b/arch/arm/mach-shmobile/board-genmai.c
@@ -25,11 +25,13 @@
25#include <linux/sh_eth.h> 25#include <linux/sh_eth.h>
26#include <linux/spi/rspi.h> 26#include <linux/spi/rspi.h>
27#include <linux/spi/spi.h> 27#include <linux/spi/spi.h>
28#include <mach/r7s72100.h> 28
29#include <asm/mach-types.h> 29#include <asm/mach-types.h>
30#include <asm/mach/arch.h> 30#include <asm/mach/arch.h>
31
31#include "common.h" 32#include "common.h"
32#include "irqs.h" 33#include "irqs.h"
34#include "r7s72100.h"
33 35
34/* Ether */ 36/* Ether */
35static const struct sh_eth_plat_data ether_pdata __initconst = { 37static const struct sh_eth_plat_data ether_pdata __initconst = {
diff --git a/arch/arm/mach-shmobile/clock-r7s72100.c b/arch/arm/mach-shmobile/clock-r7s72100.c
index 457dab0f8fc9..3eb2ec401e0c 100644
--- a/arch/arm/mach-shmobile/clock-r7s72100.c
+++ b/arch/arm/mach-shmobile/clock-r7s72100.c
@@ -19,8 +19,9 @@
19#include <linux/io.h> 19#include <linux/io.h>
20#include <linux/sh_clk.h> 20#include <linux/sh_clk.h>
21#include <linux/clkdev.h> 21#include <linux/clkdev.h>
22#include <mach/r7s72100.h> 22
23#include "common.h" 23#include "common.h"
24#include "r7s72100.h"
24 25
25/* Frequency Control Registers */ 26/* Frequency Control Registers */
26#define FRQCR 0xfcfe0010 27#define FRQCR 0xfcfe0010
diff --git a/arch/arm/mach-shmobile/include/mach/r7s72100.h b/arch/arm/mach-shmobile/r7s72100.h
index efb723c88dd0..efb723c88dd0 100644
--- a/arch/arm/mach-shmobile/include/mach/r7s72100.h
+++ b/arch/arm/mach-shmobile/r7s72100.h
diff --git a/arch/arm/mach-shmobile/setup-r7s72100.c b/arch/arm/mach-shmobile/setup-r7s72100.c
index a55d68d89e6e..4a98b232d316 100644
--- a/arch/arm/mach-shmobile/setup-r7s72100.c
+++ b/arch/arm/mach-shmobile/setup-r7s72100.c
@@ -22,10 +22,12 @@
22#include <linux/kernel.h> 22#include <linux/kernel.h>
23#include <linux/of_platform.h> 23#include <linux/of_platform.h>
24#include <linux/sh_timer.h> 24#include <linux/sh_timer.h>
25#include <mach/r7s72100.h> 25
26#include <asm/mach/arch.h> 26#include <asm/mach/arch.h>
27
27#include "common.h" 28#include "common.h"
28#include "irqs.h" 29#include "irqs.h"
30#include "r7s72100.h"
29 31
30static struct resource mtu2_resources[] __initdata = { 32static struct resource mtu2_resources[] __initdata = {
31 DEFINE_RES_MEM(0xfcff0000, 0x400), 33 DEFINE_RES_MEM(0xfcff0000, 0x400),