Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Wei Yongjun and committed by
Rafael J. Wysocki
6ac42397 6185deaa

+1 -1
+1 -1
drivers/base/power/opp/core.c
··· 46 46 return NULL; 47 47 } 48 48 49 - struct opp_table *_find_opp_table_unlocked(struct device *dev) 49 + static struct opp_table *_find_opp_table_unlocked(struct device *dev) 50 50 { 51 51 struct opp_table *opp_table; 52 52