clk: qcom: Export gdsc_gx_do_nothing_enable() to modules
Subsystems (3)
Stephen Boyd
maintainerPATCH 1/1 clk: qcom: Export gdsc_gx_do_nothing_enable() to modules
A clk driver can be a module but the gdsc code is in the common module. Export this symbol so that allmodconfig builds keep working.
Cc Jonathan Marek <[email protected]>
Fixes 0638226dd095 ("clk: qcom: add common gdsc_gx_do_nothing_enable for gpucc drivers")
Signed-off-by Stephen Boyd <[email protected]>
--- drivers/clk/qcom/gdsc.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/clk/qcom/gdsc.c +2 -0
@@ -6,6 +6,7 @@#include <linux/bitops.h> #include <linux/delay.h> #include <linux/err.h> +#include <linux/export.h> #include <linux/jiffies.h> #include <linux/kernel.h> #include <linux/ktime.h>
@@ -458,3 +459,4 @@ int gdsc_gx_do_nothing_enable(struct generic_pm_domain *domain)/* Do nothing but give genpd the impression that we were successful */ return 0 ; } +EXPORT_SYMBOL_GPL (gdsc_gx_do_nothing_enable);
Signature · 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/
Quoting Stephen Boyd (2020-07-24 02:40:25)
Quoted 7 lines
A clk driver can be a module but the gdsc code is in the common module. Export this symbol so that allmodconfig builds keep working.
Cc Jonathan Marek <[email protected]>Fixes 0638226dd095 ("clk: qcom: add common gdsc_gx_do_nothing_enable for gpucc drivers")Signed-off-by Stephen Boyd <[email protected]>---
Applied to clk-next