Re: [PATCH 1/6] ARM: at91: remove at91sam9g45/9m10 legacy board support

From: Alexandre Belloni
Date: Wed Oct 01 2014 - 11:59:51 EST


On 30/09/2014 at 18:19:42 +0200, Boris Brezillon wrote :
> Remove legacy support for at91sam9g45/9m10 boards.
> This include board files removal plus all legacy code for non DT boards
> support (i.e. at91sam9g45.c and at91sam9g45_devices.c).
>
> Signed-off-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxxxxxxx>

A tiny nitpick, else
Acked-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx>


> ---
> arch/arm/mach-at91/Kconfig.non_dt | 21 -
> arch/arm/mach-at91/Makefile | 4 -
> arch/arm/mach-at91/at91sam9g45.c | 403 -------
> arch/arm/mach-at91/at91sam9g45_devices.c | 1915 ------------------------------
> arch/arm/mach-at91/board-sam9m10g45ek.c | 526 --------
> 5 files changed, 2869 deletions(-)
> delete mode 100644 arch/arm/mach-at91/at91sam9g45_devices.c
> delete mode 100644 arch/arm/mach-at91/board-sam9m10g45ek.c
>
> diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c
> index 9d45496..f658b69 100644
> --- a/arch/arm/mach-at91/at91sam9g45.c
> +++ b/arch/arm/mach-at91/at91sam9g45.c
> @@ -10,355 +10,13 @@
> *
> */
>
> -#include <linux/module.h>
> -#include <linux/dma-mapping.h>
> -#include <linux/clk/at91_pmc.h>
> -
> -#include <asm/irq.h>
> -#include <asm/mach/arch.h>
> #include <asm/mach/map.h>

That include is not needed.

> #include <asm/system_misc.h>
> -#include <mach/at91sam9g45.h>
> #include <mach/cpu.h>
> #include <mach/hardware.h>
>

--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/