Add patch to fix ARM OMAP build

This commit is contained in:
Peter Robinson 2012-06-25 23:12:06 +01:00
parent 0350197e2d
commit 385c6d873e
2 changed files with 21 additions and 0 deletions

16
arm-omap-fixmtd.patch Normal file
View File

@ -0,0 +1,16 @@
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) || \

View File

@ -717,6 +717,7 @@ Patch20000: uprobes-3.5-tip.patch
# ARM
# OMAP
Patch21000: arm-omap-fixmtd.patch
# ARM tegra
Patch21004: arm-tegra-nvec-kconfig.patch
@ -1297,6 +1298,7 @@ ApplyPatch taint-vbox.patch
#
# ARM
#
ApplyPatch arm-omap-fixmtd.patch
ApplyPatch arm-tegra-nvec-kconfig.patch
ApplyPatch arm-tegra-usb-no-reset-linux33.patch
ApplyPatch arm-tegra-sdhci-module-fix.patch
@ -2275,6 +2277,9 @@ fi
# ||----w |
# || ||
%changelog
* Mon Jun 25 2012 Peter Robinson <pbrobinson@fedoraproject.org>
- Add patch to fix ARM OMAP build
* Mon Jun 25 2012 Justin M. Forbes <jforbes@redhat.com> - 3.5.0-0.rc4.git0.1
- Disable debugging options.