From cb363b93070107efc6445a44723a27885e5abde3 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Wed, 18 May 2005 16:51:07 -0700 Subject: [PATCH] ARM: OMAP: Compile fix for cpu.h Fixed ifdefs in cpu.h and reformatted a bit. --- include/asm-arm/arch-omap/cpu.h | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) 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 -- 2.41.1