PM / OPP: Make _find_opp_table_unlocked() static
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 6 Feb 2017 14:29:55 +0000 (14:29 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 7 Feb 2017 12:39:25 +0000 (13:39 +0100)
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>
drivers/base/power/opp/core.c

index 541d32c00cbcd4c9ba48cb7abad2f6d6212efa45..91ec3232d6300420b5ec0ec8b9359c44a9fba994 100644 (file)
@@ -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;