From: Nishanth Menon <nm@ti.com>
To: linux-omap <linux-omap@vger.kernel.org>
Cc: Nishanth Menon <nm@ti.com>,
Kevin Hilman <khilman@deeprootsystems.com>,
Thara Gopinath <thara@ti.com>
Subject: [PM-SR][PATCH 4/4] omap3: voltage: expose omap_change_voltscale_method
Date: Thu, 24 Jun 2010 16:29:26 -0500 [thread overview]
Message-ID: <1277414966-31806-5-git-send-email-nm@ti.com> (raw)
In-Reply-To: <1277414966-31806-4-git-send-email-nm@ti.com>
omap_change_voltscale_method is to be used by board files
to choose which mechanism they would prefer to do update
of voltage to thier PMIC. unless we expose it, they cant
use it.
This also fixes sparse warning:
arch/arm/mach-omap2/voltage.c:1046:6: warning: symbol 'omap_change_voltscale_method' was not declared. Should it be static?
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Thara Gopinath <thara@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
---
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
prev parent reply other threads:[~2010-06-24 21:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-24 21:29 [PM-SR][PATCH 0/4] Janitor series: kill sparse warnings Nishanth Menon
2010-06-24 21:29 ` [PM-SR] [PATCH 1/4] omap: sr: export sr_dbg_dir Nishanth Menon
2010-06-24 21:29 ` [PM-SR] [PATCH 2/4] omap3: sr: sr_exit should be static Nishanth Menon
2010-06-24 21:29 ` [PM-SR][PATCH 3/4] omap3: voltage: make required variables static Nishanth Menon
2010-06-24 21:29 ` Nishanth Menon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1277414966-31806-5-git-send-email-nm@ti.com \
--to=nm@ti.com \
--cc=khilman@deeprootsystems.com \
--cc=linux-omap@vger.kernel.org \
--cc=thara@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).