Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ac42397 authored by Wei Yongjun's avatar Wei Yongjun Committed by Rafael J. Wysocki
Browse files

PM / OPP: Make _find_opp_table_unlocked() static



Fixes the following sparse warning:

drivers/base/power/opp/core.c:49:18: warning:
 symbol '_find_opp_table_unlocked' was not declared. Should it be static?

Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 6185deaa
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -46,7 +46,7 @@ static struct opp_device *_find_opp_dev(const struct device *dev,
	return NULL;
	return NULL;
}
}


struct opp_table *_find_opp_table_unlocked(struct device *dev)
static struct opp_table *_find_opp_table_unlocked(struct device *dev)
{
{
	struct opp_table *opp_table;
	struct opp_table *opp_table;