[PATCH] [TRIVIAL] ARM: imx: Fix typo 'MACH_MX31_3DS_MXC_NAND_USE_BBT'

Jiri Kosina jkosina at suse.cz
Mon Oct 31 06:12:30 EDT 2011


On Wed, 12 Oct 2011, Paul Bolle wrote:

> Signed-off-by: Paul Bolle <pebolle at tiscali.nl>
> ---
> This is trivial because this is what apparently was intended. On the
> other hand this should open code paths that were hidden until now. So
> perhaps this needs the maintainer's approval. (I cannot meaningfully
> test this.)

I'd like to have this tested by some relevant people before taking it 
myself (added some CCs).

> 
>  arch/arm/mach-imx/mach-mx31_3ds.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/mach-imx/mach-mx31_3ds.c b/arch/arm/mach-imx/mach-mx31_3ds.c
> index c20be75..5750ca5 100644
> --- a/arch/arm/mach-imx/mach-mx31_3ds.c
> +++ b/arch/arm/mach-imx/mach-mx31_3ds.c
> @@ -542,7 +542,7 @@ static const struct mxc_nand_platform_data
>  mx31_3ds_nand_board_info __initconst = {
>  	.width		= 1,
>  	.hw_ecc		= 1,
> -#ifdef MACH_MX31_3DS_MXC_NAND_USE_BBT
> +#ifdef CONFIG_MACH_MX31_3DS_MXC_NAND_USE_BBT
>  	.flash_bbt	= 1,
>  #endif
>  };
> -- 
> 1.7.4.4
> 
> 
> 

-- 
Jiri Kosina
SUSE Labs



More information about the linux-arm-kernel mailing list