@@ -156,9 +156,9 @@ int devm_pm_opp_set_clkname(struct device *dev, const char *name);
156
156
struct opp_table * dev_pm_opp_register_set_opp_helper (struct device * dev , int (* set_opp )(struct dev_pm_set_opp_data * data ));
157
157
void dev_pm_opp_unregister_set_opp_helper (struct opp_table * opp_table );
158
158
int devm_pm_opp_register_set_opp_helper (struct device * dev , int (* set_opp )(struct dev_pm_set_opp_data * data ));
159
- struct opp_table * dev_pm_opp_attach_genpd (struct device * dev , const char * * names , struct device * * * virt_devs );
159
+ struct opp_table * dev_pm_opp_attach_genpd (struct device * dev , const char * const * names , struct device * * * virt_devs );
160
160
void dev_pm_opp_detach_genpd (struct opp_table * opp_table );
161
- int devm_pm_opp_attach_genpd (struct device * dev , const char * * names , struct device * * * virt_devs );
161
+ int devm_pm_opp_attach_genpd (struct device * dev , const char * const * names , struct device * * * virt_devs );
162
162
struct dev_pm_opp * dev_pm_opp_xlate_required_opp (struct opp_table * src_table , struct opp_table * dst_table , struct dev_pm_opp * src_opp );
163
163
int dev_pm_opp_xlate_performance_state (struct opp_table * src_table , struct opp_table * dst_table , unsigned int pstate );
164
164
int dev_pm_opp_set_rate (struct device * dev , unsigned long target_freq );
@@ -376,15 +376,15 @@ static inline int devm_pm_opp_set_clkname(struct device *dev, const char *name)
376
376
return - EOPNOTSUPP ;
377
377
}
378
378
379
- static inline struct opp_table * dev_pm_opp_attach_genpd (struct device * dev , const char * * names , struct device * * * virt_devs )
379
+ static inline struct opp_table * dev_pm_opp_attach_genpd (struct device * dev , const char * const * names , struct device * * * virt_devs )
380
380
{
381
381
return ERR_PTR (- EOPNOTSUPP );
382
382
}
383
383
384
384
static inline void dev_pm_opp_detach_genpd (struct opp_table * opp_table ) {}
385
385
386
386
static inline int devm_pm_opp_attach_genpd (struct device * dev ,
387
- const char * * names ,
387
+ const char * const * names ,
388
388
struct device * * * virt_devs )
389
389
{
390
390
return - EOPNOTSUPP ;
0 commit comments