lkml.org 
[lkml]   [2021]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v4 1/4] opp: Export devm_pm_opp_attach_genpd()
Date
The devm_pm_opp_attach_genpd() lost its export by accident when it was
merged. Re-add the missing export, Tegra DRM driver now works when
compiled as a loadable kernel module since it uses the exported function.

Fixes: 22300b8fd92a ("opp: Add devm_pm_opp_attach_genpd")
Reported-by: Nicolas Chauvet <kwizart@gmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---
drivers/opp/core.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/opp/core.c b/drivers/opp/core.c
index f80b6f1ca108..6049b17f99d6 100644
--- a/drivers/opp/core.c
+++ b/drivers/opp/core.c
@@ -2297,6 +2297,7 @@ devm_pm_opp_attach_genpd(struct device *dev, const char **names,

return opp_table;
}
+EXPORT_SYMBOL_GPL(devm_pm_opp_attach_genpd);

/**
* dev_pm_opp_xlate_performance_state() - Find required OPP's pstate for src_table.
--
2.29.2
\
 
 \ /
  Last update: 2021-01-21 01:11    [W:0.147 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site