aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/regulator
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/regulator')
-rw-r--r--include/linux/regulator/machine.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/regulator/machine.h b/include/linux/regulator/machine.h
index 9328090eca20..73a88f6cbb1c 100644
--- a/include/linux/regulator/machine.h
+++ b/include/linux/regulator/machine.h
@@ -171,6 +171,12 @@ struct regulator_init_data {
171 171
172int regulator_suspend_prepare(suspend_state_t state); 172int regulator_suspend_prepare(suspend_state_t state);
173 173
174#ifdef CONFIG_REGULATOR
174void regulator_has_full_constraints(void); 175void regulator_has_full_constraints(void);
176#else
177static inline void regulator_has_full_constraints(void)
178{
179}
180#endif
175 181
176#endif 182#endif