Skip to content

Commit

Permalink
ARM: OMAP2+: common: remove use of vram
Browse files Browse the repository at this point in the history
commit 966458f OMAP: remove vram allocator

Removed the OMAP specific vram allocator but OMAP2 common was
still trying to use it and this lead to the following build error:

CC      arch/arm/mach-omap2/common.o
arch/arm/mach-omap2/common.c:19:23: fatal error: plat/vram.h: No such file or directory
compilation terminated.
make[1]: *** [arch/arm/mach-omap2/common.o] Error 1
make: *** [arch/arm/mach-omap2] Error 2

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Javier Martinez Canillas authored and Tony Lindgren committed Dec 16, 2012
1 parent 2b83188 commit d7dde8c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/arm/mach-omap2/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
#include <linux/init.h>
#include <linux/platform_data/dsp-omap.h>

#include <plat/vram.h>

#include "common.h"
#include "omap-secure.h"

Expand All @@ -32,7 +30,6 @@ int __weak omap_secure_ram_reserve_memblock(void)

void __init omap_reserve(void)
{
omap_vram_reserve_sdram_memblock();
omap_dsp_reserve_sdram_memblock();
omap_secure_ram_reserve_memblock();
omap_barrier_reserve_memblock();
Expand Down

0 comments on commit d7dde8c

Please sign in to comment.