diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-09-25 12:08:04 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-09-25 12:08:04 -0400 |
commit | 4bf63fcb83dc761853f69a77b15e47712689020b (patch) | |
tree | 6afae2f5f45eed231967f05e1f0a887136756211 /drivers/mtd/nand/nand_bbt.c | |
parent | 3b85c3211ebde263a86c8cd3c7277fdd2e440310 (diff) |
[MTD NAND] Allocate chip->buffers separately to allow it to be overridden
In particular, the board driver might need it to be DMAable.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/nand/nand_bbt.c')
-rw-r--r-- | drivers/mtd/nand/nand_bbt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nand_bbt.c b/drivers/mtd/nand/nand_bbt.c index a612c4ea8194..9402653eb09b 100644 --- a/drivers/mtd/nand/nand_bbt.c +++ b/drivers/mtd/nand/nand_bbt.c | |||
@@ -759,7 +759,7 @@ static inline int nand_memory_bbt(struct mtd_info *mtd, struct nand_bbt_descr *b | |||
759 | struct nand_chip *this = mtd->priv; | 759 | struct nand_chip *this = mtd->priv; |
760 | 760 | ||
761 | bd->options &= ~NAND_BBT_SCANEMPTY; | 761 | bd->options &= ~NAND_BBT_SCANEMPTY; |
762 | return create_bbt(mtd, this->buffers.databuf, bd, -1); | 762 | return create_bbt(mtd, this->buffers->databuf, bd, -1); |
763 | } | 763 | } |
764 | 764 | ||
765 | /** | 765 | /** |