summaryrefslogtreecommitdiffstats
path: root/include/linux/regulator/machine.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-10-28 15:13:24 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-28 15:13:24 -0700
commit9aca0e7c8c3a8f1fa6e3058abc5465b0509f0f8e (patch)
treea905000d066defcc187e8e073134a1bee3c56fc1 /include/linux/regulator/machine.h
parenta0e3390787ef523699ae1f3f3ea0ca953e630be2 (diff)
parentec10b0e94ebe7de3b301d60e6f7f4a12d3d280c6 (diff)
downloadop-kernel-dev-9aca0e7c8c3a8f1fa6e3058abc5465b0509f0f8e.zip
op-kernel-dev-9aca0e7c8c3a8f1fa6e3058abc5465b0509f0f8e.tar.gz
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6: regulator: max8952 - fix max8952_set_voltage regulator: max8952 - fix max8952_pmic_probe error path regulator: fix build when CONFIG_REGULATOR_DUMMY=n regulator: avoid deadlock when disabling regulator with supply regulator: Add option for machine drivers to enable the dummy regulator Regulator: lp3972 cleanup Regulator: LP3972 PMIC regulator driver MAX8952 PMIC Driver Initial Release
Diffstat (limited to 'include/linux/regulator/machine.h')
-rw-r--r--include/linux/regulator/machine.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/regulator/machine.h b/include/linux/regulator/machine.h
index e298028..761c745 100644
--- a/include/linux/regulator/machine.h
+++ b/include/linux/regulator/machine.h
@@ -189,10 +189,15 @@ int regulator_suspend_prepare(suspend_state_t state);
#ifdef CONFIG_REGULATOR
void regulator_has_full_constraints(void);
+void regulator_use_dummy_regulator(void);
#else
static inline void regulator_has_full_constraints(void)
{
}
+
+static inline void regulator_use_dummy_regulator(void)
+{
+}
#endif
#endif
OpenPOWER on IntegriCloud