public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fixing cpu_class_is_omap2() parentheses warning
@ 2007-06-25 18:22 Ragner Magalhaes
  2007-06-29  7:21 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Ragner Magalhaes @ 2007-06-25 18:22 UTC (permalink / raw)
  To: linux-omap-open-source

From: Ragner Magalhaes <ragner.magalhaes@indt.org.br>

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 <ragner.magalhaes@indt.org.br>
---

 include/asm-arm/arch-omap/cpu.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-arm/arch-omap/cpu.h b/include/asm-arm/arch-omap/cpu.h
index 4eea68b..b9399a8 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-29  7:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-25 18:22 [PATCH] Fixing cpu_class_is_omap2() parentheses warning Ragner Magalhaes
2007-06-29  7:21 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox