From: Linus Walleij Date: Thu, 2 May 2013 15:12:33 +0000 (+0200) Subject: ARM: u300: localize X-Git-Tag: accepted/tizen/common/20141203.182822~1989^2~27^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b0bdd8bca9a8f4ae1c3f6a256e83b73edad06050;p=platform%2Fkernel%2Flinux-arm64.git ARM: u300: localize This register base file is now only used in the machine itself so move it down into mach-u300. Acked-by: Arnd Bergmann Signed-off-by: Linus Walleij --- diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c index 254fe92..1fdaf81 100644 --- a/arch/arm/mach-u300/core.c +++ b/arch/arm/mach-u300/core.c @@ -21,7 +21,7 @@ #include #include -#include +#include "u300-regs.h" /* * SYSCON addresses applicable to the core machine. diff --git a/arch/arm/mach-u300/regulator.c b/arch/arm/mach-u300/regulator.c index ab7d7a5..1cbe88c 100644 --- a/arch/arm/mach-u300/regulator.c +++ b/arch/arm/mach-u300/regulator.c @@ -17,7 +17,7 @@ #include /* Those are just for writing in syscon */ #include -#include +#include "u300-regs.h" /* Power Management Control 16bit (R/W) */ #define U300_SYSCON_PMCR (0x50) diff --git a/arch/arm/mach-u300/include/mach/u300-regs.h b/arch/arm/mach-u300/u300-regs.h similarity index 100% rename from arch/arm/mach-u300/include/mach/u300-regs.h rename to arch/arm/mach-u300/u300-regs.h