crypto: omap - OMAP macros corrected
authorDmitry Kasatkin <dmitry.kasatkin@nokia.com>
Fri, 14 May 2010 04:45:08 +0000 (14:45 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 14 May 2010 04:45:08 +0000 (14:45 +1000)
Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/mach-omap2/devices.c

index beac46c48c5aa1d73fe5ece2cf15a1e6e97c1231..79dbf04cbaaf6452659e45cdd611cef5755b00f9 100644 (file)
@@ -456,7 +456,7 @@ static inline void omap_init_mcspi(void) {}
 
 #if defined(CONFIG_CRYPTO_DEV_OMAP_SHAM) || defined(CONFIG_CRYPTO_DEV_OMAP_SHAM_MODULE)
 
-#ifdef CONFIG_ARCH_OMAP24XX
+#ifdef CONFIG_ARCH_OMAP2
 static struct resource omap2_sham_resources[] = {
        {
                .start  = OMAP24XX_SEC_SHA1MD5_BASE,
@@ -474,7 +474,7 @@ static int omap2_sham_resources_sz = ARRAY_SIZE(omap2_sham_resources);
 #define omap2_sham_resources_sz                0
 #endif
 
-#ifdef CONFIG_ARCH_OMAP34XX
+#ifdef CONFIG_ARCH_OMAP3
 static struct resource omap3_sham_resources[] = {
        {
                .start  = OMAP34XX_SEC_SHA1MD5_BASE,