diff mbox series

clk: qcom: Export gdsc_gx_do_nothing_enable() to modules

Message ID 20200724094025.3261266-1-sboyd@kernel.org (mailing list archive)
State Accepted, archived
Headers show
Series clk: qcom: Export gdsc_gx_do_nothing_enable() to modules | expand

Commit Message

Stephen Boyd July 24, 2020, 9:40 a.m. UTC
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 <jonathan@marek.ca>
Fixes: 0638226dd095 ("clk: qcom: add common gdsc_gx_do_nothing_enable for gpucc drivers")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
---
 drivers/clk/qcom/gdsc.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Stephen Boyd July 24, 2020, 9:42 a.m. UTC | #1
Quoting Stephen Boyd (2020-07-24 02:40:25)
> 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 <jonathan@marek.ca>
> Fixes: 0638226dd095 ("clk: qcom: add common gdsc_gx_do_nothing_enable for gpucc drivers")
> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
> ---

Applied to clk-next
diff mbox series

Patch

diff --git a/drivers/clk/qcom/gdsc.c b/drivers/clk/qcom/gdsc.c
index 628397703717..7e4273f314f7 100644
--- a/drivers/clk/qcom/gdsc.c
+++ b/drivers/clk/qcom/gdsc.c
@@ -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);