diff options
author | Tony Lindgren <tony@atomide.com> | 2011-02-25 13:11:15 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-02-25 13:19:21 -0500 |
commit | bd061715392ccd72a398577615e856175d2b7b2b (patch) | |
tree | b11851adedf0dc096569bb8ea4a9cb2af6a39bed | |
parent | c206e5147717782bac25d3506fa9fa05890b0767 (diff) |
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>
-rw-r--r-- | arch/arm/mach-omap2/board-flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
154 | } | 154 | } |
155 | #else | 155 | #else |
156 | void | 156 | void |
157 | __init board_nand_init(struct mtd_partition *nand_parts, u8 nr_parts, u8 cs) | 157 | __init board_nand_init(struct mtd_partition *nand_parts, u8 nr_parts, u8 cs, int nand_type) |
158 | { | 158 | { |
159 | } | 159 | } |
160 | #endif /* CONFIG_MTD_NAND_OMAP2 || CONFIG_MTD_NAND_OMAP2_MODULE */ | 160 | #endif /* CONFIG_MTD_NAND_OMAP2 || CONFIG_MTD_NAND_OMAP2_MODULE */ |