From: Ragner Magalhaes Date: Mon, 25 Jun 2007 18:22:49 +0000 (-0400) Subject: Fixing cpu_class_is_omap2() parentheses warning X-Git-Tag: v2.6.22-omap1~12 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e3159ed3733d5819c3c2647dc3d5eadcd68569f8;p=linux-2.6-omap-h63xx.git 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 --- 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