17 lines
539 B
Diff
17 lines
539 B
Diff
diff --git a/arch/arm/mach-omap2/board-flash.c b/arch/arm/mach-omap2/board-flash.c
|
|
index 70a81f9..53c39d2 100644
|
|
--- a/arch/arm/mach-omap2/board-flash.c
|
|
+++ b/arch/arm/mach-omap2/board-flash.c
|
|
@@ -97,11 +97,6 @@ __init board_onenand_init(struct mtd_partition *onenand_parts,
|
|
|
|
gpmc_onenand_init(&board_onenand_data);
|
|
}
|
|
-#else
|
|
-void
|
|
-__init board_onenand_init(struct mtd_partition *nor_parts, u8 nr_parts, u8 cs)
|
|
-{
|
|
-}
|
|
#endif /* CONFIG_MTD_ONENAND_OMAP2 || CONFIG_MTD_ONENAND_OMAP2_MODULE */
|
|
|
|
#if defined(CONFIG_MTD_NAND_OMAP2) || \
|