aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/dvfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/dvfs.h')
-rw-r--r--arch/arm/mach-omap2/dvfs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/dvfs.h b/arch/arm/mach-omap2/dvfs.h
index 64f0afa..284e60f 100644
--- a/arch/arm/mach-omap2/dvfs.h
+++ b/arch/arm/mach-omap2/dvfs.h
@@ -23,6 +23,7 @@ int omap_device_scale(struct device *req_dev, struct device *target_dev,
unsigned long rate);
bool omap_dvfs_is_scaling(struct voltagedomain *voltdm);
+bool omap_dvfs_is_any_dev_scaling(void);
#else
static inline int omap_dvfs_register_device(struct device *dev,
char *voltdm_name, char *clk_name)
@@ -38,5 +39,9 @@ static inline bool omap_dvfs_is_scaling(struct voltagedomain *voltdm)
{
return false;
}
+static inline bool omap_dvfs_is_any_dev_scaling(void)
+{
+ return false;
+}
#endif
#endif