[MTD] [NAND] fix OOPS accessing flash operations over STM flash on PXA

STM 2Gb flash is a large-page NAND flash. Set operations accordingly.
This field is dereferenced without a check in several places resulting in
OOPS.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Acked-by: Eric Miao <ymiao3@marvell.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

authored by Denis V. Lunev and committed by David Woodhouse e93f1be5 d9476298

+1
+1
drivers/mtd/nand/pxa3xx_nand.c
··· 269 270 static struct pxa3xx_nand_flash stm2GbX16 = { 271 .timing = &stm2GbX16_timing, 272 .page_per_block = 64, 273 .page_size = 2048, 274 .flash_width = 16,
··· 269 270 static struct pxa3xx_nand_flash stm2GbX16 = { 271 .timing = &stm2GbX16_timing, 272 + .cmdset = &largepage_cmdset, 273 .page_per_block = 64, 274 .page_size = 2048, 275 .flash_width = 16,