From: Stephen Boyd Date: Fri, 24 Jul 2020 09:40:25 +0000 (-0700) Subject: clk: qcom: Export gdsc_gx_do_nothing_enable() to modules X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=413d84b88bee08ed59713e782053ff38d206c606;p=linux.git 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 Fixes: 0638226dd095 ("clk: qcom: add common gdsc_gx_do_nothing_enable for gpucc drivers") Signed-off-by: Stephen Boyd Link: https://lore.kernel.org/r/20200724094025.3261266-1-sboyd@kernel.org --- diff --git a/drivers/clk/qcom/gdsc.c b/drivers/clk/qcom/gdsc.c index 6283977037177..7e4273f314f79 100644 --- a/drivers/clk/qcom/gdsc.c +++ b/drivers/clk/qcom/gdsc.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -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);