[PATCH repeat] MTD: Correct typo in preprocessor directive.

Sascha Hauer s.hauer at pengutronix.de
Mon Dec 21 09:24:53 EST 2009


On Mon, Dec 21, 2009 at 06:52:42AM -0500, Robert P. J. Day wrote:
> 
> Configuration directive should obviously start with "CONFIG_".
> 
> Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>
> 
> ---
> 
>   i submitted this already but it hasn't gone in so i don't want it
> lost in the shuffle.  it looks like a simple typo fix, unless someone
> else sees something more there.

Ok, applied.

Sascha

> 
> 
> diff --git a/drivers/nand/diskonchip.c b/drivers/nand/diskonchip.c
> index e17af70..e762524 100644
> --- a/drivers/nand/diskonchip.c
> +++ b/drivers/nand/diskonchip.c
> @@ -120,7 +120,7 @@ static int no_autopart=0;
>  module_param(no_autopart, int, 0);
>  #endif
> 
> -#ifdef MTD_NAND_DISKONCHIP_BBTWRITE
> +#ifdef CONFIG_MTD_NAND_DISKONCHIP_BBTWRITE
>  static int inftl_bbt_write=1;
>  #else
>  static int inftl_bbt_write=0;
> 
> ========================================================================
> Robert P. J. Day                               Waterloo, Ontario, CANADA
> 
>             Linux Consulting, Training and Kernel Pedantry.
> 
> Web page:                                          http://crashcourse.ca
> Twitter:                                       http://twitter.com/rpjday
> ========================================================================
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list