public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]omap: mux.c warning removal
@ 2010-05-05 13:44 Munegowda, Keshava
  2010-05-05 21:21 ` Kevin Hilman
  0 siblings, 1 reply; 3+ messages in thread
From: Munegowda, Keshava @ 2010-05-05 13:44 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org, tony@atomide.com

From: Keshava Munegowda <a0393220@ti.com>

This patch removes the below warning 
arch/arm/mach-omap2/mux.c:52: warning: 'mux_phys' defined but not used
The definition of variable mux_phys should be enclosed in the macro CONFIG_ARCH_OMAP3 

Signed-off-by: Keshava Munegowda <a0393220@ti.com>
Index: linux-2.6/arch/arm/mach-omap2/mux.c
===================================================================
--- linux-2.6.orig/arch/arm/mach-omap2/mux.c	2010-05-05 05:28:47.000000000 +0530
+++ linux-2.6/arch/arm/mach-omap2/mux.c	2010-05-05 05:29:02.000000000 +0530
@@ -49,7 +49,9 @@
 	struct list_head	node;
 };
 
+#ifdef CONFIG_ARCH_OMAP3
 static unsigned long mux_phys;
+#endif
 static void __iomem *mux_base;
 
 u16 omap_mux_read(u16 reg)


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

end of thread, other threads:[~2010-05-06  6:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-05 13:44 [PATCH]omap: mux.c warning removal Munegowda, Keshava
2010-05-05 21:21 ` Kevin Hilman
2010-05-06  6:36   ` Munegowda, Keshava

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