omap: Fix compile if MTD_NAND_OMAP2 is not selected
authorTony Lindgren <tony@atomide.com>
Fri, 25 Feb 2011 18:11:15 +0000 (10:11 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 25 Feb 2011 18:19:21 +0000 (10:19 -0800)
Fix compile if MTD_NAND_OMAP2 is not selected

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-flash.c

index c32c06828f08ed989d2b9a6467ceab71d23ca409..729892fdcf2e545cec8f1469bf6e01181814cc98 100644 (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 */