summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/include/mach
diff options
context:
space:
mode:
authorSteve Muckle <smuckle@quicinc.com>2008-12-12 19:33:55 -0500
committerDaniel Walker <dwalker@codeaurora.org>2010-05-12 09:14:36 -0700
commit4783de9bba3dd607e6aa4d0a7dd598d9094c044c (patch)
treea4b3b18d2715181940349682598f835b0e299fbb /arch/arm/mach-msm/include/mach
parent0c50b444b69f49e38d16b974993a626ad74c59a7 (diff)
downloadblackbird-obmc-linux-4783de9bba3dd607e6aa4d0a7dd598d9094c044c.tar.gz
blackbird-obmc-linux-4783de9bba3dd607e6aa4d0a7dd598d9094c044c.zip
arm: msm: status for vreg
Keep track of the success/failure of the last vreg proc comm command, and return that on debugfs reads. Signed-off-by: Steve Muckle <smuckle@quicinc.com>
Diffstat (limited to 'arch/arm/mach-msm/include/mach')
-rw-r--r--arch/arm/mach-msm/include/mach/vreg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-msm/include/mach/vreg.h b/arch/arm/mach-msm/include/mach/vreg.h
index 9f9e25cb718e..6626e7864e28 100644
--- a/arch/arm/mach-msm/include/mach/vreg.h
+++ b/arch/arm/mach-msm/include/mach/vreg.h
@@ -23,7 +23,7 @@ struct vreg *vreg_get(struct device *dev, const char *id);
void vreg_put(struct vreg *vreg);
int vreg_enable(struct vreg *vreg);
-void vreg_disable(struct vreg *vreg);
+int vreg_disable(struct vreg *vreg);
int vreg_set_level(struct vreg *vreg, unsigned mv);
#endif
OpenPOWER on IntegriCloud