From patchwork Wed Feb 17 06:18:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjith Lohithakshan X-Patchwork-Id: 79833 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o1H6IFon008792 for ; Wed, 17 Feb 2010 06:18:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751229Ab0BQGSP (ORCPT ); Wed, 17 Feb 2010 01:18:15 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:36755 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751104Ab0BQGSO (ORCPT ); Wed, 17 Feb 2010 01:18:14 -0500 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id o1H6IA1M004843 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Feb 2010 00:18:13 -0600 Received: from psplinux050.india.ti.com (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id o1H6I7h6013659; Wed, 17 Feb 2010 11:48:08 +0530 (IST) Received: from psplinux050.india.ti.com (localhost [127.0.0.1]) by psplinux050.india.ti.com (8.13.1/8.13.1) with ESMTP id o1H6I76x027626; Wed, 17 Feb 2010 11:48:07 +0530 Received: (from a0876318@localhost) by psplinux050.india.ti.com (8.13.1/8.13.1/Submit) id o1H6I73D027623; Wed, 17 Feb 2010 11:48:07 +0530 From: Ranjith Lohithakshan To: linux-omap@vger.kernel.org Cc: tony@atomide.com, ranjithl@ti.com Subject: [PATCH] omap: Remove DEBUGFS dependency for mux name checking Date: Wed, 17 Feb 2010 11:48:07 +0530 Message-Id: <1266387487-27588-1-git-send-email-ranjithl@ti.com> X-Mailer: git-send-email 1.6.2.4 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 17 Feb 2010 06:18:16 +0000 (UTC) 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;