Przeglądaj źródła

ARM: OMAP2+: Fix compile for CONFIG_TIDSPBRIDGE platform init code

Commit 7f28427b (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>
Tony Lindgren 13 lat temu
rodzic
commit
febe9e02d6
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      arch/arm/mach-omap2/dsp.c

+ 3 - 0
arch/arm/mach-omap2/dsp.c

@@ -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