@@ -121,17 +121,19 @@ unsigned long dev_pm_opp_get_suspend_opp_freq(struct device *dev);
121121struct dev_pm_opp * dev_pm_opp_find_freq_exact (struct device * dev ,
122122 unsigned long freq ,
123123 bool available );
124+
124125struct dev_pm_opp * dev_pm_opp_find_freq_floor (struct device * dev ,
125126 unsigned long * freq );
126127
128+ struct dev_pm_opp * dev_pm_opp_find_freq_ceil (struct device * dev ,
129+ unsigned long * freq );
130+
127131struct dev_pm_opp * dev_pm_opp_find_level_exact (struct device * dev ,
128132 unsigned int level );
133+
129134struct dev_pm_opp * dev_pm_opp_find_level_ceil (struct device * dev ,
130135 unsigned int * level );
131136
132- struct dev_pm_opp * dev_pm_opp_find_freq_ceil (struct device * dev ,
133- unsigned long * freq );
134-
135137struct dev_pm_opp * dev_pm_opp_find_bw_ceil (struct device * dev ,
136138 unsigned int * bw , int index );
137139
@@ -247,32 +249,32 @@ static inline unsigned long dev_pm_opp_get_suspend_opp_freq(struct device *dev)
247249 return 0 ;
248250}
249251
250- static inline struct dev_pm_opp * dev_pm_opp_find_level_exact (struct device * dev ,
251- unsigned int level )
252+ static inline struct dev_pm_opp * dev_pm_opp_find_freq_exact (struct device * dev ,
253+ unsigned long freq , bool available )
252254{
253255 return ERR_PTR (- EOPNOTSUPP );
254256}
255257
256- static inline struct dev_pm_opp * dev_pm_opp_find_level_ceil (struct device * dev ,
257- unsigned int * level )
258+ static inline struct dev_pm_opp * dev_pm_opp_find_freq_floor (struct device * dev ,
259+ unsigned long * freq )
258260{
259261 return ERR_PTR (- EOPNOTSUPP );
260262}
261263
262- static inline struct dev_pm_opp * dev_pm_opp_find_freq_exact (struct device * dev ,
263- unsigned long freq , bool available )
264+ static inline struct dev_pm_opp * dev_pm_opp_find_freq_ceil (struct device * dev ,
265+ unsigned long * freq )
264266{
265267 return ERR_PTR (- EOPNOTSUPP );
266268}
267269
268- static inline struct dev_pm_opp * dev_pm_opp_find_freq_floor (struct device * dev ,
269- unsigned long * freq )
270+ static inline struct dev_pm_opp * dev_pm_opp_find_level_exact (struct device * dev ,
271+ unsigned int level )
270272{
271273 return ERR_PTR (- EOPNOTSUPP );
272274}
273275
274- static inline struct dev_pm_opp * dev_pm_opp_find_freq_ceil (struct device * dev ,
275- unsigned long * freq )
276+ static inline struct dev_pm_opp * dev_pm_opp_find_level_ceil (struct device * dev ,
277+ unsigned int * level )
276278{
277279 return ERR_PTR (- EOPNOTSUPP );
278280}
0 commit comments