From: Tony Lindgren Date: Wed, 18 May 2005 23:51:07 +0000 (-0700) Subject: ARM: OMAP: Compile fix for cpu.h X-Git-Tag: v2.6.13-omap1~145 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=cb363b93070107efc6445a44723a27885e5abde3;p=linux-2.6-omap-h63xx.git ARM: OMAP: Compile fix for cpu.h Fixed ifdefs in cpu.h and reformatted a bit. --- diff --git a/include/asm-arm/arch-omap/cpu.h b/include/asm-arm/arch-omap/cpu.h index b253a91d49d..d4867d6ac95 100644 --- a/include/asm-arm/arch-omap/cpu.h +++ b/include/asm-arm/arch-omap/cpu.h @@ -102,18 +102,17 @@ IS_OMAP_CLASS(24xx, 0x24) #define cpu_is_omap24xx() 0 #if defined(MULTI_OMAP1) -# if defined(CONFIG_ARCH_OMAP730) -# undef cpu_is_omap7xx -# define cpu_is_omap7xx() is_omap7xx() -# endif -# if defined(CONFIG_ARCH_OMAP1510) -# undef cpu_is_omap15xx -# define cpu_is_omap15xx() is_omap15xx() -# endif -# if defined(CONFIG_ARCH_OMAP16XX) -# undef cpu_is_omap16xx -# define cpu_is_omap16xx() is_omap16xx() -# endif +# if defined(CONFIG_ARCH_OMAP730) +# undef cpu_is_omap7xx +# define cpu_is_omap7xx() is_omap7xx() +# endif +# if defined(CONFIG_ARCH_OMAP1510) +# undef cpu_is_omap15xx +# define cpu_is_omap15xx() is_omap15xx() +# endif +# if defined(CONFIG_ARCH_OMAP16XX) +# undef cpu_is_omap16xx +# define cpu_is_omap16xx() is_omap16xx() # endif #else # if defined(CONFIG_ARCH_OMAP730) @@ -199,10 +198,9 @@ IS_OMAP_TYPE(2420, 0x24) # define cpu_is_omap1710() is_omap1710() #endif -# if defined(CONFIG_ARCH_OMAP2420) +#if defined(CONFIG_ARCH_OMAP2420) # undef cpu_is_omap2420 # define cpu_is_omap2420() 1 -# endif #endif #endif