From: Tony Lindgren Date: Fri, 25 Feb 2011 18:11:15 +0000 (-0800) Subject: omap: Fix compile if MTD_NAND_OMAP2 is not selected X-Git-Tag: firefly_0821_release~7613^2~1763^2~22^4~8 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bd061715392ccd72a398577615e856175d2b7b2b;p=firefly-linux-kernel-4.4.55.git omap: Fix compile if MTD_NAND_OMAP2 is not selected Fix compile if MTD_NAND_OMAP2 is not selected Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/board-flash.c b/arch/arm/mach-omap2/board-flash.c index c32c06828f08..729892fdcf2e 100644 --- a/arch/arm/mach-omap2/board-flash.c +++ b/arch/arm/mach-omap2/board-flash.c @@ -154,7 +154,7 @@ __init board_nand_init(struct mtd_partition *nand_parts, } #else void -__init board_nand_init(struct mtd_partition *nand_parts, u8 nr_parts, u8 cs) +__init board_nand_init(struct mtd_partition *nand_parts, u8 nr_parts, u8 cs, int nand_type) { } #endif /* CONFIG_MTD_NAND_OMAP2 || CONFIG_MTD_NAND_OMAP2_MODULE */