From patchwork Thu Aug 5 22:24:10 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 117572 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o75Mfmth029707 for ; Thu, 5 Aug 2010 22:41:50 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760849Ab0HEWkw (ORCPT ); Thu, 5 Aug 2010 18:40:52 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:35502 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760833Ab0HEWYU (ORCPT ); Thu, 5 Aug 2010 18:24:20 -0400 Received: from dlep34.itg.ti.com ([157.170.170.115]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id o75MOJ6L004398 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 5 Aug 2010 17:24:19 -0500 Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep34.itg.ti.com (8.13.7/8.13.7) with ESMTP id o75MOGWD024047; Thu, 5 Aug 2010 17:24:16 -0500 (CDT) Received: from senorita (senorita.am.dhcp.ti.com [128.247.74.250]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id o75MOFf27275; Thu, 5 Aug 2010 17:24:15 -0500 (CDT) Received: by senorita (Postfix, from userid 1000) id 1D529C268; Thu, 5 Aug 2010 17:24:13 -0500 (CDT) From: Nishanth Menon To: linux-omap Cc: Nishanth Menon , Kevin Hilman , Thara Gopinath Subject: [PM-SR][PATCH 10/12] omap3: sr: export sr_dbg_dir Date: Thu, 5 Aug 2010 17:24:10 -0500 Message-Id: <1281047052-21346-11-git-send-email-nm@ti.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1281047052-21346-1-git-send-email-nm@ti.com> References: <1281047052-21346-1-git-send-email-nm@ti.com> 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]); Thu, 05 Aug 2010 22:41:50 +0000 (UTC) diff --git a/arch/arm/plat-omap/include/plat/smartreflex.h b/arch/arm/plat-omap/include/plat/smartreflex.h index 1105db0..df58026 100644 --- a/arch/arm/plat-omap/include/plat/smartreflex.h +++ b/arch/arm/plat-omap/include/plat/smartreflex.h @@ -263,6 +263,11 @@ int omap_sr_register_class(struct omap_smartreflex_class_data *class_data); /* API to register the pmic specific data with the smartreflex driver. */ void omap_sr_register_pmic(struct omap_smartreflex_pmic_data *pmic_data); + +#ifdef CONFIG_PM_DEBUG +extern struct dentry *sr_dbg_dir; +#endif + #else static inline void omap_smartreflex_enable(int srid) {} static inline void omap_smartreflex_disable(int srid) {}