mtd: nand: gpmi: use correct member for checking NAND_BBT_USE_FLASH
authorWolfram Sang <w.sang@pengutronix.de>
Tue, 31 Jan 2012 12:10:43 +0000 (13:10 +0100)
committerLuis Henriques <luis.henriques@canonical.com>
Mon, 30 Apr 2012 18:14:59 +0000 (19:14 +0100)
commit7de2e64e405611b91b0f37c71054085ed737041b
tree79c7ea4b88ba9af8911b6146239570ee38f6e540
parentf107d5a5994568bcf996ed3d17767487b2661de1
mtd: nand: gpmi: use correct member for checking NAND_BBT_USE_FLASH

BugLink: http://bugs.launchpad.net/bugs/981162

commit 5289966ea576a062b80319975b31b661c196ff9d upstream.

This has been moved from .options to .bbt_options meanwhile. So, it
currently checks for something totally different (NAND_OWN_BUFFERS) and
decides according to that.

Artem Bityutskiy: the options were moved in
a40f734 mtd: nand: consolidate redundant flash-based BBT flags

Artem Bityutskiy: CCing -stable

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/mtd/nand/gpmi-nand/gpmi-nand.c