aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-omap/include/plat/dvfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-omap/include/plat/dvfs.h')
-rw-r--r--arch/arm/plat-omap/include/plat/dvfs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/dvfs.h b/arch/arm/plat-omap/include/plat/dvfs.h
index 1302990c27d..1be2b9d8bd3 100644
--- a/arch/arm/plat-omap/include/plat/dvfs.h
+++ b/arch/arm/plat-omap/include/plat/dvfs.h
@@ -17,11 +17,18 @@
#ifdef CONFIG_PM
int omap_dvfs_register_device(struct voltagedomain *voltdm, struct device *dev);
+int omap_device_scale(struct device *req_dev, struct device *dev,
+ unsigned long rate);
#else
static inline int omap_dvfs_register_device(struct voltagedomain *voltdm,
struct device *dev)
{
return -EINVAL;
}
+static inline int omap_device_scale(struct device *req_dev, struct devices
+ *target_dev, unsigned long rate);
+{
+ return -EINVAL;
+}
#endif
#endif