commit | a9e5609fa5e636d8bdc35b3d4480c7dcbfb8ab79 | [log] [tgz] |
---|---|---|
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | Tue Aug 15 22:52:45 2017 +0200 |
committer | Tom Rini <trini@konsulko.com> | Sat Aug 26 14:56:10 2017 -0400 |
tree | a9dde9441b65576a0d6a6a0b119ca5d3b0e59c03 | |
parent | 39412c2e8d86cfc795d66089b87d92ccc5c545b9 [diff] |
arch/arm/cpu/arm926ejs/spear/cpu.c: guard do_switch_ecc() with CONFIG_NAND_FSMC do_switch_ecc() calls fsmc_nand_switch_ecc(), which is a direct function call into drivers/mtd/nand/fsmc_nand.c. However, this function is not guarded by CONFIG_NAND_FSMC, which results to a build failure if CONFIG_NAND_FSMC is disabled. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>