Skip to content

Commit

Permalink
PM / OPP: Make _find_opp_table_unlocked() static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Yongjun authored and Rafael J. Wysocki committed Feb 7, 2017
1 parent 6185dea commit 6ac4239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/base/power/opp/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 6ac4239

Please sign in to comment.