[PATCH 3/3] ARM: at91: renamme rm9200 dt file

Nicolas Ferre nicolas.ferre at atmel.com
Wed Mar 13 10:22:56 EDT 2013


On 03/07/2013 03:21 PM, Jean-Christophe PLAGNIOL-VILLARD :
> to follow the same scheme board-dt-<socs>.c

Well not <socs> as each and every SoC will not have its own board file.
I confess that finding a proper name is not easy, what about:

Rename the board-rm9200-dt.c file so that we follow the pattern for
Device Tree board files: board-dt-<name of SoC sharing same core>.c

Best regards,

> Cc: Nicolas Ferre <nicolas.ferre at atmel.com>
> Cc: Ludovic Desroches <ludovic.desroches at atmel.com>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
>  arch/arm/mach-at91/Makefile                                 |    2 +-
>  arch/arm/mach-at91/{board-rm9200-dt.c => board-dt-rm9200.c} |    0
>  2 files changed, 1 insertion(+), 1 deletion(-)
>  rename arch/arm/mach-at91/{board-rm9200-dt.c => board-dt-rm9200.c} (100%)
> 
> diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile
> index 5eca35a..505fed9 100644
> --- a/arch/arm/mach-at91/Makefile
> +++ b/arch/arm/mach-at91/Makefile
> @@ -87,7 +87,7 @@ obj-$(CONFIG_MACH_SNAPPER_9260)	+= board-snapper9260.o
>  obj-$(CONFIG_MACH_AT91SAM9M10G45EK) += board-sam9m10g45ek.o
>  
>  # AT91SAM board with device-tree
> -obj-$(CONFIG_MACH_AT91RM9200_DT) += board-rm9200-dt.o
> +obj-$(CONFIG_MACH_AT91RM9200_DT) += board-dt-rm9200.o
>  obj-$(CONFIG_MACH_AT91SAM9_DT) += board-dt-sam9.o
>  
>  # AT91X40 board-specific support
> diff --git a/arch/arm/mach-at91/board-rm9200-dt.c b/arch/arm/mach-at91/board-dt-rm9200.c
> similarity index 100%
> rename from arch/arm/mach-at91/board-rm9200-dt.c
> rename to arch/arm/mach-at91/board-dt-rm9200.c
> 


-- 
Nicolas Ferre



More information about the linux-arm-kernel mailing list