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@xxxxxxxxx> Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx> --- 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