[PATCH] cpuidle: governor: export cpuidle_register_governor

Lina Iyer
2020-09-02T20:57:57Z

Commit 83788c0caed3 ("cpuidle: remove unused exports") removed
capability of registering cpuidle governors, which was unused at that
time. By exporting the symbol, let's allow platform specific modules to
register cpuidle governors.

Signed-off-by: Lina Iyer <ilina@codeaurora.org>
---
drivers/cpuidle/governor.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/cpuidle/governor.c b/drivers/cpuidle/governor.c
index 29acaf48e575..480ec58cffa9 100644
--- a/drivers/cpuidle/governor.c
+++ b/drivers/cpuidle/governor.c
@@ -102,6 +102,7 @@ int cpuidle_register_governor(struct cpuidle_governor *gov)

return ret;
}
+EXPORT_SYMBOL_GPL(cpuidle_register_governor);

/**
* cpuidle_governor_latency_req - Compute a latency constraint for CPU
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project