@@ -243,6 +243,7 @@ int opp_disable(struct omap_opp *opp);
struct omap_opp * __deprecated opp_find_by_opp_id(struct omap_opp *opps,
u8 opp_id);
+u8 __deprecated opp_get_opp_id(struct omap_opp *opp);
void opp_init_cpufreq_table(struct omap_opp *opps,
struct cpufreq_frequency_table **table);
@@ -69,6 +69,11 @@ struct omap_opp * __deprecated opp_find_by_opp_id(struct omap_opp *opps,
return NULL;
}
+u8 __deprecated opp_get_opp_id(struct omap_opp *opp)
+{
+ return opp->opp_id;
+}
+
int opp_get_opp_count(struct omap_opp *oppl)
{
u8 n = 0;