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)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 26 Mar 2012 23:21:33 +0000 (00:21 +0100)
commit5289966ea576a062b80319975b31b661c196ff9d
treec73044b60642f1979f4d0e434f6f62ef9ecc6272
parentb54f47c8bcfc5f766bf13ec31bd7dd1d4726d33b
mtd: nand: gpmi: use correct member for checking NAND_BBT_USE_FLASH

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>
Cc: stable@kernel.org [3.2+]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/gpmi-nand/gpmi-nand.c