diff mbox series

[v4,1/4] opp: Export devm_pm_opp_attach_genpd()

Message ID 20210120222649.28149-2-digetx@gmail.com
State Rejected
Headers show
Series OPP API fixes and improvements | expand

Commit Message

Dmitry Osipenko Jan. 20, 2021, 10:26 p.m. UTC
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 mbox series


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;
  * dev_pm_opp_xlate_performance_state() - Find required OPP's pstate for src_table.