linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* opp: core: Add missing export to core.c
@ 2020-06-20 17:03 Valdis Klētnieks
  2020-06-22  2:15 ` Viresh Kumar
  0 siblings, 1 reply; 2+ messages in thread
From: Valdis Klētnieks @ 2020-06-20 17:03 UTC (permalink / raw)
  To: Sibi Sankar, Viresh Kumar, Nishanth Menon; +Cc: linux-pm, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 923 bytes --]

After this commit, a 'make allmodconfig' fails due to a missing export.
commit 5f2430fb40c74db85764c8a472ecd6849025dd3f
Author: Sibi Sankar <sibis@codeaurora.org>
Date:   Sat Jun 6 03:03:31 2020 +0530

    cpufreq: qcom: Update the bandwidth levels on frequency change

ERROR: modpost: "dev_pm_opp_adjust_voltage" [drivers/cpufreq/qcom-cpufreq-hw.ko] undefined!

Provide the export.

Fixes: 5f2430fb40c7 ("cpufreq: qcom: Update the bandwidth levels on frequency change")
Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>

diff --git a/drivers/opp/core.c b/drivers/opp/core.c
index 6937bf45f497..c9336aac74e9 100644
--- a/drivers/opp/core.c
+++ b/drivers/opp/core.c
@@ -2302,6 +2302,7 @@ int dev_pm_opp_adjust_voltage(struct device *dev, unsigned long freq,
 	dev_pm_opp_put_opp_table(opp_table);
 	return r;
 }
+EXPORT_SYMBOL_GPL(dev_pm_opp_adjust_voltage);

 /**
  * dev_pm_opp_enable() - Enable a specific OPP




[-- Attachment #2: Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: opp: core: Add missing export to core.c
  2020-06-20 17:03 opp: core: Add missing export to core.c Valdis Klētnieks
@ 2020-06-22  2:15 ` Viresh Kumar
  0 siblings, 0 replies; 2+ messages in thread
From: Viresh Kumar @ 2020-06-22  2:15 UTC (permalink / raw)
  To: Valdis Klētnieks
  Cc: Sibi Sankar, Viresh Kumar, Nishanth Menon, linux-pm, linux-kernel

On 20-06-20, 13:03, Valdis Klētnieks wrote:
> After this commit, a 'make allmodconfig' fails due to a missing export.
> commit 5f2430fb40c74db85764c8a472ecd6849025dd3f
> Author: Sibi Sankar <sibis@codeaurora.org>
> Date:   Sat Jun 6 03:03:31 2020 +0530
> 
>     cpufreq: qcom: Update the bandwidth levels on frequency change
> 
> ERROR: modpost: "dev_pm_opp_adjust_voltage" [drivers/cpufreq/qcom-cpufreq-hw.ko] undefined!
> 
> Provide the export.
> 
> Fixes: 5f2430fb40c7 ("cpufreq: qcom: Update the bandwidth levels on frequency change")
> Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
> 
> diff --git a/drivers/opp/core.c b/drivers/opp/core.c
> index 6937bf45f497..c9336aac74e9 100644
> --- a/drivers/opp/core.c
> +++ b/drivers/opp/core.c
> @@ -2302,6 +2302,7 @@ int dev_pm_opp_adjust_voltage(struct device *dev, unsigned long freq,
>  	dev_pm_opp_put_opp_table(opp_table);
>  	return r;
>  }
> +EXPORT_SYMBOL_GPL(dev_pm_opp_adjust_voltage);
> 
>  /**
>   * dev_pm_opp_enable() - Enable a specific OPP
> 

Applied with reworded logs.

-- 
viresh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-22  2:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-20 17:03 opp: core: Add missing export to core.c Valdis Klētnieks
2020-06-22  2:15 ` Viresh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).