[PATCH 01/11] ep93xx: Move PHYS_BASE defines to local SoC header file

H Hartley Sweeten hartleys at visionengravers.com
Fri Jan 13 12:18:31 EST 2012


On Tuesday, January 10, 2012 8:14 PM, Ryan Mallon wrote:
>
> The PHYS_BASE defines in arch/arm/mach-ep93xx/include/mach-ep93xx-regs.h
> are only used in the SoC code. Move the defines to a local header file.
>
> Cc: Hartley Sweeten <hsweeten at visionengravers.com>
> Cc: Mika Westerberg <mika.westerberg at iki.fi>
> Signed-off-by: Ryan Mallon <rmallon at gmail.com>
> ---
>  arch/arm/mach-ep93xx/adssphere.c                |    1 +
>  arch/arm/mach-ep93xx/edb93xx.c                  |    2 +
>  arch/arm/mach-ep93xx/gesbc9312.c                |    1 +
>  arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h |   34 ---------------
>  arch/arm/mach-ep93xx/micro9.c                   |    1 +
>  arch/arm/mach-ep93xx/simone.c                   |    2 +
>  arch/arm/mach-ep93xx/snappercl15.c              |    2 +
>  arch/arm/mach-ep93xx/soc.h                      |   50 +++++++++++++++++++++++
>  arch/arm/mach-ep93xx/ts72xx.c                   |    2 +
>  arch/arm/mach-ep93xx/vision_ep9307.c            |    2 +
>  10 files changed, 63 insertions(+), 34 deletions(-)  create mode 100644 arch/arm/mach-ep93xx/soc.h

<snip>

> diff --git a/arch/arm/mach-ep93xx/edb93xx.c b/arch/arm/mach-ep93xx/edb93xx.c index 70ef8c5..24df3ff 100644
> --- a/arch/arm/mach-ep93xx/edb93xx.c
> +++ b/arch/arm/mach-ep93xx/edb93xx.c
> @@ -42,6 +42,8 @@
>  #include <asm/mach-types.h>
>  #include <asm/mach/arch.h>
>  
> +#include "soc.h"
> +
 
Nitpick... Unnecessary whitespace...

<snip>

> diff --git a/arch/arm/mach-ep93xx/ts72xx.c b/arch/arm/mach-ep93xx/ts72xx.c index 8b2f143..f5965db 100644
> --- a/arch/arm/mach-ep93xx/ts72xx.c
> +++ b/arch/arm/mach-ep93xx/ts72xx.c
> @@ -27,6 +27,8 @@
>  #include <asm/mach/map.h>
>  #include <asm/mach/arch.h>
>  
> +#include "soc.h"
> +

Nitpick... Unnecessary whitespace...
 
Other than that... Looks ok.

Acked-by: H Hartley Sweeten <hsweeten at visionengravers.com>





More information about the linux-arm-kernel mailing list