public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] omap: Remove DEBUGFS dependency for mux name checking
@ 2010-02-17  6:18 Ranjith Lohithakshan
  2010-02-17 10:16 ` Premi, Sanjeev
  0 siblings, 1 reply; 3+ messages in thread
From: Ranjith Lohithakshan @ 2010-02-17  6:18 UTC (permalink / raw)
  To: linux-omap; +Cc: tony, ranjithl

The check for a valid mux name should be performed regardless of whether
DEBUGFS is enabled or not.

This fixes the issue currently seen with boards not booting up
if DEBUGFS is not enabled in defconfig.

Signed-off-by: Ranjith Lohithakshan <ranjithl@ti.com>
---
 arch/arm/mach-omap2/mux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c
index 986077f..1a6ff8f 100644
--- a/arch/arm/mach-omap2/mux.c
+++ b/arch/arm/mach-omap2/mux.c
@@ -969,7 +969,7 @@ static void __init omap_mux_init_list(struct omap_mux *superset)
 		}
 #endif
 
-#if defined(CONFIG_OMAP_MUX) && defined(CONFIG_DEBUG_FS)
+#ifdef CONFIG_OMAP_MUX
 		if (!superset->muxnames || !superset->muxnames[0]) {
 			superset++;
 			continue;
-- 
1.6.2.4


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

end of thread, other threads:[~2010-02-17 16:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-17  6:18 [PATCH] omap: Remove DEBUGFS dependency for mux name checking Ranjith Lohithakshan
2010-02-17 10:16 ` Premi, Sanjeev
2010-02-17 16:41   ` Ranjith Lohithakshan

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