X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Farm%2Fplat-omap%2Fsram.c;h=be7bcaf2b832d325aaaefb352789d2ca46ff1a74;hb=e4f722fa42537bcb0ff14322a57dc3870d093cab;hp=dcd9d16da2e9f5f0df6e36484e09edaed84139e9;hpb=30cd324e9787ccc9a5ede59742d5409857550692;p=linux-2.6-omap-h63xx.git diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c index dcd9d16da2e..be7bcaf2b83 100644 --- a/arch/arm/plat-omap/sram.c +++ b/arch/arm/plat-omap/sram.c @@ -24,6 +24,7 @@ #include #include +#include #include @@ -87,7 +88,7 @@ static int is_sram_locked(void) int type = 0; if (cpu_is_omap242x()) - type = system_rev & OMAP2_DEVICETYPE_MASK; + type = omap_rev() & OMAP2_DEVICETYPE_MASK; if (type == GP_DEVICE) { /* RAMFW: R/W access to all initiators for all qualifier sets */