From e3159ed3733d5819c3c2647dc3d5eadcd68569f8 Mon Sep 17 00:00:00 2001 From: Ragner Magalhaes Date: Mon, 25 Jun 2007 14:22:49 -0400 Subject: [PATCH] Fixing cpu_class_is_omap2() parentheses warning Fixing the follow warning arch/arm/plat-omap/usb.c: In function 'omap_usb0_init': arch/arm/plat-omap/usb.c:136: warning: suggest parentheses around && within || Signed-off-by: Ragner Magalhaes Signed-off-by: Tony Lindgren --- include/asm-arm/arch-omap/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asm-arm/arch-omap/cpu.h b/include/asm-arm/arch-omap/cpu.h index 4eea68be053..b9399a85c1a 100644 --- a/include/asm-arm/arch-omap/cpu.h +++ b/include/asm-arm/arch-omap/cpu.h @@ -273,6 +273,6 @@ IS_OMAP_TYPE(3430, 0x3430) /* Macros to detect if we have OMAP1 or OMAP2 */ #define cpu_class_is_omap1() (cpu_is_omap730() || cpu_is_omap15xx() || \ cpu_is_omap16xx()) -#define cpu_class_is_omap2() cpu_is_omap24xx() || cpu_is_omap34xx() +#define cpu_class_is_omap2() (cpu_is_omap24xx() || cpu_is_omap34xx()) #endif -- 2.41.1