Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1499274

Re: [PATCH 7/8] PM / OPP: Allow platform specific custom opp_set_rate() callbacks

From "Rafael J. Wysocki" <rjw@rjwysocki.net>
Newsgroups linux.kernel
Subject Re: [PATCH 7/8] PM / OPP: Allow platform specific custom opp_set_rate() callbacks
Date 2016-10-12 00:30 +0200
Message-ID <srdIB-44x-3@gated-at.bofh.it> (permalink)
References <sowy5-2bk-13@gated-at.bofh.it> <sowy6-2bk-39@gated-at.bofh.it> <soJbY-28U-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wednesday, October 05, 2016 06:59:29 AM Viresh Kumar wrote:
> On 04-10-16, 17:26, Viresh Kumar wrote:
> > diff --git a/include/linux/pm_opp.h b/include/linux/pm_opp.h
> > +int dev_pm_opp_register_set_rate_helper(struct device *dev,
> > +	int (*set_rate)(struct device *dev, struct dev_pm_set_rate_data *data))
> > +{
> > +	return -ENOTSUPP;
> > +}
> 
> + this to fix up a warning:
> 
> diff --git a/include/linux/pm_opp.h b/include/linux/pm_opp.h
> index ef882ed24b0e..483f33e70895 100644
> --- a/include/linux/pm_opp.h
> +++ b/include/linux/pm_opp.h
> @@ -180,7 +180,7 @@ static inline int dev_pm_opp_set_supported_hw(struct device *dev,
>  
>  static inline void dev_pm_opp_put_supported_hw(struct device *dev) {}
>  
> -int dev_pm_opp_register_set_rate_helper(struct device *dev,
> +static inline int dev_pm_opp_register_set_rate_helper(struct device *dev,
>         int (*set_rate)(struct device *dev, struct dev_pm_set_rate_data *data))
>  {
>         return -ENOTSUPP;
> 
> 

Can you resend the full patch, please?

Thanks,
Rafael

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 7/8] PM / OPP: Allow platform specific custom opp_set_rate() callbacks Viresh Kumar <viresh.kumar@linaro.org> - 2016-10-04 14:00 +0200
  Re: [PATCH 7/8] PM / OPP: Allow platform specific custom  opp_set_rate() callbacks Viresh Kumar <viresh.kumar@linaro.org> - 2016-10-05 03:30 +0200
    Re: [PATCH 7/8] PM / OPP: Allow platform specific custom opp_set_rate() callbacks "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-10-12 00:30 +0200
  [PATCH V2 7/8] PM / OPP: Allow platform specific custom opp_set_rate() callbacks Viresh Kumar <viresh.kumar@linaro.org> - 2016-10-12 04:20 +0200

csiph-web