From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nishanth Menon Subject: [PM-SR][PATCH 03/12] omap3: voltage: expose omap_change_voltscale_method Date: Thu, 5 Aug 2010 17:24:03 -0500 Message-ID: <1281047052-21346-4-git-send-email-nm@ti.com> References: <1281047052-21346-1-git-send-email-nm@ti.com> Return-path: Received: from devils.ext.ti.com ([198.47.26.153]:35498 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760826Ab0HEWYU (ORCPT ); Thu, 5 Aug 2010 18:24:20 -0400 In-Reply-To: <1281047052-21346-1-git-send-email-nm@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: linux-omap Cc: Nishanth Menon , Kevin Hilman , Thara Gopinath omap_change_voltscale_method is meant to be used for board files desiring to choose a different scaling technique. so this function should be exposed to the world. also fixes sparse warning: arch/arm/mach-omap2/voltage.c:1047:6: warning: symbol 'omap_change_voltscale_method' was not declared. Should it be static? Cc: Kevin Hilman Cc: Thara Gopinath Signed-off-by: Nishanth Menon --- arch/arm/mach-omap2/voltage.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/voltage.h b/arch/arm/mach-omap2/voltage.h index a7be515..6dc8ce4 100644 --- a/arch/arm/mach-omap2/voltage.h +++ b/arch/arm/mach-omap2/voltage.h @@ -113,6 +113,7 @@ void omap_voltageprocessor_enable(int vp_id); void omap_voltageprocessor_disable(int vp_id); int omap_voltage_scale(int vdd, unsigned long target_volt); void omap_reset_voltage(int vdd); +void omap_change_voltscale_method(int voltscale_method); int omap_get_voltage_table(int vdd, struct omap_volt_data **volt_data); struct omap_volt_data *omap_get_volt_data(int vdd, unsigned long volt); void omap_voltage_register_pmic(struct omap_volt_pmic_info *pmic_info); -- 1.6.3.3