[PATCH 09/10] mtd: nand: Add bbt parameter

Sascha Hauer s.hauer at pengutronix.de
Tue Mar 5 05:48:01 EST 2013


On Mon, Mar 04, 2013 at 09:42:55PM +0100, Juergen Beisert wrote:
> Sascha Hauer wrote:
> > [...]
> > --- a/drivers/mtd/nand/nand_base.c
> > +++ b/drivers/mtd/nand/nand_base.c
> > @@ -1688,6 +1688,23 @@ static int mtd_set_erasebad(struct device_d *dev,
> > struct param_d *param, return 0;
> >  }
> >
> > +static const char *mtd_get_bbt_type(struct device_d *dev, struct param_d 
> *p) +{
> > +	struct mtd_info *mtd = container_of(dev, struct mtd_info, class_dev);
> > +	struct nand_chip *chip = mtd->priv;
> > +	char *str;
> 
> Should also be "const char *str"

ok.

Sascha


-- 
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