summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2017-02-06 14:29:55 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-02-07 13:39:25 +0100
commit6ac423973397d17684528e89fbbca49b2ff7bb43 (patch)
tree6dfff75dd35ccd146f90ca759cf348fe8434f418
parent6185deaac579d5f6b1f811ba83ebcb92c53e94c8 (diff)
downloadlinux-rpi-6ac423973397d17684528e89fbbca49b2ff7bb43.tar.gz
linux-rpi-6ac423973397d17684528e89fbbca49b2ff7bb43.tar.bz2
linux-rpi-6ac423973397d17684528e89fbbca49b2ff7bb43.zip
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>
-rw-r--r--drivers/base/power/opp/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/opp/core.c b/drivers/base/power/opp/core.c
index 541d32c00cbc..91ec3232d630 100644
--- a/drivers/base/power/opp/core.c
+++ b/drivers/base/power/opp/core.c
@@ -46,7 +46,7 @@ static struct opp_device *_find_opp_dev(const struct device *dev,
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;