[PATCH] ARM: u300: delete memory.h

Nicolas Pitre nicolas.pitre at linaro.org
Tue Nov 29 09:13:40 EST 2011


On Tue, 29 Nov 2011, Linus Walleij wrote:

> From: Linus Walleij <linus.walleij at linaro.org>
> 
> Last merge window the memory maps for U300 were simplified so
> we can now safely delete memory.h.
> 
> Cc: Nicolas Pitre <nicolas.pitre at linaro.org>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> ---
>  arch/arm/Kconfig                         |    2 +-
>  arch/arm/mach-u300/include/mach/memory.h |   19 -------------------
>  arch/arm/mach-u300/u300.c                |    2 +-
>  3 files changed, 2 insertions(+), 21 deletions(-)
>  delete mode 100644 arch/arm/mach-u300/include/mach/memory.h
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 44789ef..3ce67eb 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -892,7 +892,7 @@ config ARCH_U300
>  	select HAVE_MACH_CLKDEV
>  	select GENERIC_GPIO
>  	select ARCH_REQUIRE_GPIOLIB
> -	select NEED_MACH_MEMORY_H
> +	select NO_MACH_MEMORY_H

you don't have to select anything when removing NEED_MACH_MEMORY_H.

With that removed:

Acked-by: Nicolas Pitre <nico at linaro.org>


Nicolas



More information about the linux-arm-kernel mailing list