From b0bdd8bca9a8f4ae1c3f6a256e83b73edad06050 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Thu, 2 May 2013 17:12:33 +0200 Subject: [PATCH] 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 --- arch/arm/mach-u300/core.c | 2 +- arch/arm/mach-u300/regulator.c | 2 +- arch/arm/mach-u300/{include/mach => }/u300-regs.h | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename arch/arm/mach-u300/{include/mach => }/u300-regs.h (100%) diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c index 254fe922457d..1fdaf81771fa 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 ab7d7a519b2f..1cbe88c74367 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 -- 2.39.5