X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=arch%2Farm%2Fmach-omap2%2Fomap4-common.c;h=5c3845730dbf547d8c34040d069bab4b51006be5;hb=58e16d792a6a8c6b750f637a4649967fcac853dc;hp=f9c02f9f1c92199027cecf15f6a4567027b82d02;hpb=1fa91854dcdf7829e2694873b19f96b65947112d;p=linux-2.6-microblaze.git diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c index f9c02f9f1c92..5c3845730dbf 100644 --- a/arch/arm/mach-omap2/omap4-common.c +++ b/arch/arm/mach-omap2/omap4-common.c @@ -127,6 +127,9 @@ static int __init omap4_sram_init(void) struct device_node *np; struct gen_pool *sram_pool; + if (!soc_is_omap44xx() && !soc_is_omap54xx()) + return 0; + np = of_find_compatible_node(NULL, NULL, "ti,omap4-mpu"); if (!np) pr_warn("%s:Unable to allocate sram needed to handle errata I688\n",