summaryrefslogtreecommitdiff
path: root/arch/arm/plat-omap/include/plat/opp.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-omap/include/plat/opp.h')
-rw-r--r--arch/arm/plat-omap/include/plat/opp.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/plat-omap/include/plat/opp.h b/arch/arm/plat-omap/include/plat/opp.h
index 09beb8c252ed..de1e8662f2a5 100644
--- a/arch/arm/plat-omap/include/plat/opp.h
+++ b/arch/arm/plat-omap/include/plat/opp.h
@@ -77,8 +77,7 @@ struct omap_opp *opp_find_freq_floor(struct device *dev, unsigned long *freq);
struct omap_opp *opp_find_freq_ceil(struct device *dev, unsigned long *freq);
-struct omap_opp *opp_find_voltage(struct device *dev, unsigned long volt,
- unsigned long hack_freq);
+struct omap_opp *opp_find_voltage(struct device *dev, unsigned long volt);
int opp_set_rate(struct device *dev, unsigned long freq);
@@ -139,8 +138,7 @@ static inline struct omap_opp *opp_find_freq_ceil(struct device *dev,
}
static inline struct omap_opp *opp_find_voltage(struct device *dev,
- unsigned long volt,
- unsigned long hack_freq)
+ unsigned long volt)
{
return ERR_PTR(-EINVAL);
}