From fccae89318fda71012f96042dd971a6f9bf0904e Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Fri, 20 Jun 2014 18:53:06 +0200 Subject: [PATCH] ARM: shmobile: Move r8a7790.h Change location of r8a7790.h so it can be included as "r8a7790.h" instead of the old style Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/mach-shmobile/board-lager-reference.c | 4 +++- arch/arm/mach-shmobile/board-lager.c | 14 ++++++++------ arch/arm/mach-shmobile/clock-r8a7790.c | 3 ++- arch/arm/mach-shmobile/pm-r8a7790.c | 4 +++- .../arm/mach-shmobile/{include/mach => }/r8a7790.h | 0 arch/arm/mach-shmobile/setup-r8a7790.c | 4 +++- arch/arm/mach-shmobile/smp-r8a7790.c | 4 +++- 7 files changed, 22 insertions(+), 11 deletions(-) rename arch/arm/mach-shmobile/{include/mach => }/r8a7790.h (100%) diff --git a/arch/arm/mach-shmobile/board-lager-reference.c b/arch/arm/mach-shmobile/board-lager-reference.c index e30017b910b9..8dcff51a8f45 100644 --- a/arch/arm/mach-shmobile/board-lager-reference.c +++ b/arch/arm/mach-shmobile/board-lager-reference.c @@ -22,11 +22,13 @@ #include #include #include -#include + #include + #include "clock.h" #include "common.h" #include "irqs.h" +#include "r8a7790.h" #include "rcar-gen2.h" /* DU */ diff --git a/arch/arm/mach-shmobile/board-lager.c b/arch/arm/mach-shmobile/board-lager.c index 72785cc7405b..bfd9e4846fc9 100644 --- a/arch/arm/mach-shmobile/board-lager.c +++ b/arch/arm/mach-shmobile/board-lager.c @@ -31,6 +31,8 @@ #include #include #include +#include +#include #include #include #include @@ -43,21 +45,21 @@ #include #include #include +#include +#include +#include #include #include -#include + #include #include #include -#include -#include -#include -#include -#include #include #include + #include "common.h" #include "irqs.h" +#include "r8a7790.h" #include "rcar-gen2.h" /* diff --git a/arch/arm/mach-shmobile/clock-r8a7790.c b/arch/arm/mach-shmobile/clock-r8a7790.c index ca980669806f..17435c1aa2fe 100644 --- a/arch/arm/mach-shmobile/clock-r8a7790.c +++ b/arch/arm/mach-shmobile/clock-r8a7790.c @@ -22,9 +22,10 @@ #include #include #include -#include + #include "clock.h" #include "common.h" +#include "r8a7790.h" #include "rcar-gen2.h" /* diff --git a/arch/arm/mach-shmobile/pm-r8a7790.c b/arch/arm/mach-shmobile/pm-r8a7790.c index 0f1090d851e7..8845433a00b3 100644 --- a/arch/arm/mach-shmobile/pm-r8a7790.c +++ b/arch/arm/mach-shmobile/pm-r8a7790.c @@ -11,9 +11,11 @@ */ #include + #include -#include + #include "pm-rcar.h" +#include "r8a7790.h" /* SYSC */ #define SYSCIER 0x0c diff --git a/arch/arm/mach-shmobile/include/mach/r8a7790.h b/arch/arm/mach-shmobile/r8a7790.h similarity index 100% rename from arch/arm/mach-shmobile/include/mach/r8a7790.h rename to arch/arm/mach-shmobile/r8a7790.h diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c index ee5daccf35ee..6bf84ec48907 100644 --- a/arch/arm/mach-shmobile/setup-r8a7790.c +++ b/arch/arm/mach-shmobile/setup-r8a7790.c @@ -26,11 +26,13 @@ #include #include #include -#include + #include + #include "common.h" #include "dma-register.h" #include "irqs.h" +#include "r8a7790.h" #include "rcar-gen2.h" /* Audio-DMAC */ diff --git a/arch/arm/mach-shmobile/smp-r8a7790.c b/arch/arm/mach-shmobile/smp-r8a7790.c index a8ace58c3dd2..c256fdfbb5b0 100644 --- a/arch/arm/mach-shmobile/smp-r8a7790.c +++ b/arch/arm/mach-shmobile/smp-r8a7790.c @@ -17,10 +17,12 @@ #include #include #include + #include -#include + #include "common.h" #include "pm-rcar.h" +#include "r8a7790.h" #define RST 0xe6160000 #define CA15BAR 0x0020 -- 2.39.5