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


Groups > linux.kernel > #1394840

Re: [PATCH] Fix CONFIG_PM_OPP without CONFIG_OF build failure

From Viresh Kumar <viresh.kumar@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] Fix CONFIG_PM_OPP without CONFIG_OF build failure
Date 2016-05-05 05:10 +0200
Message-ID <rvhPP-8uZ-3@gated-at.bofh.it> (permalink)
References <ruIp5-rE-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 03-05-16, 14:14, Eric Engestrom wrote:
> diff --git a/drivers/base/power/opp/cpu.c b/drivers/base/power/opp/cpu.c
> index ba2bdbd..8aae170 100644
> --- a/drivers/base/power/opp/cpu.c
> +++ b/drivers/base/power/opp/cpu.c
> @@ -119,6 +119,7 @@ void dev_pm_opp_free_cpufreq_table(struct device *dev,
>  EXPORT_SYMBOL_GPL(dev_pm_opp_free_cpufreq_table);
>  #endif	/* CONFIG_CPU_FREQ */
>  
> +#ifdef CONFIG_OF
>  /* Required only for V1 bindings, as v2 can manage it from DT itself */
>  int dev_pm_opp_set_sharing_cpus(struct device *cpu_dev, cpumask_var_t cpumask)
>  {
> @@ -160,7 +161,6 @@ int dev_pm_opp_set_sharing_cpus(struct device *cpu_dev, cpumask_var_t cpumask)
>  }
>  EXPORT_SYMBOL_GPL(dev_pm_opp_set_sharing_cpus);
>  
> -#ifdef CONFIG_OF
>  void dev_pm_opp_of_cpumask_remove_table(cpumask_var_t cpumask)
>  {
>  	struct device *cpu_dev;

This change was incorrect as this API can be used for non-OF case.
Some things have already changed, can you please rebase on linux-next
and resend this patch?

-- 
viresh

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


Thread

[PATCH] Fix CONFIG_PM_OPP without CONFIG_OF build failure Eric Engestrom <eric.engestrom@imgtec.com> - 2016-05-03 15:20 +0200
  Re: [PATCH] Fix CONFIG_PM_OPP without CONFIG_OF build failure Viresh Kumar <viresh.kumar@linaro.org> - 2016-05-05 05:10 +0200
    [PATCH v2] Fix CONFIG_PM_OPP without CONFIG_OF build failure Eric Engestrom <eric.engestrom@imgtec.com> - 2016-05-05 11:20 +0200
      Re: [PATCH v2] Fix CONFIG_PM_OPP without CONFIG_OF build failure Sudeep Holla <sudeep.holla@arm.com> - 2016-05-05 11:30 +0200
        Re: [PATCH v2] Fix CONFIG_PM_OPP without CONFIG_OF build failure Viresh Kumar <viresh.kumar@linaro.org> - 2016-05-05 13:00 +0200

csiph-web