Skip to content

Commit

Permalink
ARM: OMAP2+: Fix compile for CONFIG_TIDSPBRIDGE platform init code
Browse files Browse the repository at this point in the history
Commit 7f28427 (ARM: OMAP2+: Move omap_dsp_reserve_sdram_memblock() to mach-omap2)
moved DSP platform init code, but failed to include memblock.h causing:

arch/arm/mach-omap2/dsp.c: In function 'omap_dsp_reserve_sdram_memblock':
arch/arm/mach-omap2/dsp.c:58: error: implicit declaration of function 'arm_memblock_steal'

Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Tony Lindgren committed Jun 6, 2012
1 parent 00d6bfa commit febe9e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/mach-omap2/dsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

#include <linux/module.h>
#include <linux/platform_device.h>

#include <asm/memblock.h>

#include "cm2xxx_3xxx.h"
#include "prm2xxx_3xxx.h"
#ifdef CONFIG_BRIDGE_DVFS
Expand Down

0 comments on commit febe9e0

Please sign in to comment.