omap: Fix compile if MTD_NAND_OMAP2 is not selected

Fix compile if MTD_NAND_OMAP2 is not selected

Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
Tony Lindgren 2011-02-25 10:11:15 -08:00
parent c206e51477
commit bd06171539

View File

@ -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 */