Message ID | 1292955604-8809-7-git-send-email-thomas.petazzoni@free-electrons.com (mailing list archive) |
---|---|
State | RFC, archived |
Headers | show |
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 14f4224..900964a 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c @@ -23,6 +23,7 @@ #include <linux/gpio.h> #include <linux/input.h> #include <linux/gpio_keys.h> +#include <linux/condsections.h> #include <linux/mtd/mtd.h> #include <linux/mtd/partitions.h> @@ -581,6 +582,9 @@ static void __init omap3_beagle_init(void) omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT); beagle_display_init(); + + free_unused_cond_section("omap2"); + free_unused_cond_section("omap4"); } MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board")