[PATCH 01/33] Removing dead MTD_NAND_AT91_BUSWIDTH_16

Kirill A. Shutemov kirill at shutemov.name
Wed Jun 30 13:53:24 EDT 2010


On Wed, Jun 30, 2010 at 05:53:52PM +0200, Christoph Egger wrote:
> MTD_NAND_AT91_BUSWIDTH_16 doesn't exist in Kconfig, therefore removing
> all references for it from the source code.

It was renamed to MTD_NAND_ATMEL_BUSWIDTH_16 (see f6ed6f7).

I think better to rename it here too.

> Signed-off-by: Christoph Egger <siccegge at cs.fau.de>
> ---
>  arch/arm/mach-at91/board-at572d940hf_ek.c |    4 ----
>  arch/arm/mach-at91/board-sam9m10g45ek.c   |    4 ----
>  2 files changed, 0 insertions(+), 8 deletions(-)
> 
> diff --git a/arch/arm/mach-at91/board-at572d940hf_ek.c b/arch/arm/mach-at91/board-at572d940hf_ek.c
> index 5daff27..889a442 100644
> --- a/arch/arm/mach-at91/board-at572d940hf_ek.c
> +++ b/arch/arm/mach-at91/board-at572d940hf_ek.c
> @@ -216,11 +216,7 @@ static struct atmel_nand_data __initdata eb_nand_data = {
>  /*	.rdy_pin	= AT91_PIN_PC16, */
>  	.enable_pin	= AT91_PIN_PA15,
>  	.partition_info	= nand_partitions,
> -#if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16)
> -	.bus_width_16	= 1,
> -#else
>  	.bus_width_16	= 0,
> -#endif
>  };
>  
>  static struct sam9_smc_config __initdata eb_nand_smc_config = {
> diff --git a/arch/arm/mach-at91/board-sam9m10g45ek.c b/arch/arm/mach-at91/board-sam9m10g45ek.c
> index ee80059..49ef850 100644
> --- a/arch/arm/mach-at91/board-sam9m10g45ek.c
> +++ b/arch/arm/mach-at91/board-sam9m10g45ek.c
> @@ -135,11 +135,7 @@ static struct atmel_nand_data __initdata ek_nand_data = {
>  	.rdy_pin	= AT91_PIN_PC8,
>  	.enable_pin	= AT91_PIN_PC14,
>  	.partition_info	= nand_partitions,
> -#if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16)
> -	.bus_width_16	= 1,
> -#else
>  	.bus_width_16	= 0,
> -#endif
>  };
>  
>  static struct sam9_smc_config __initdata ek_nand_smc_config = {
> -- 
> 1.7.0.4
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

-- 
 Kirill A. Shutemov



More information about the linux-arm-kernel mailing list