fix: nand: pxa3xx: fix defined but not used warnings
authorSean Nyekjaer <sean.nyekjaer@prevas.dk>
Wed, 22 Nov 2017 12:39:08 +0000 (13:39 +0100)
committerStefan Roese <sr@denx.de>
Thu, 30 Nov 2017 07:25:06 +0000 (08:25 +0100)
commite13921a9514be6a82f328a8633ab695f2d953b83
treed7b0c935a19b0e7ce16dac1f237772d20e233072
parentb06c46de632c55f4c39d404c6f0f65e414b31050
fix: nand: pxa3xx: fix defined but not used warnings

bbt_mirror_descr and bbt_main_descr is defined but not used
when compiling without CONFIG_SYS_NAND_USE_FLASH_BBT set.

Signed-off-by: Sean Nyekjaer <sean.nyekjaer@prevas.dk>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/nand/pxa3xx_nand.c