aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/opp/core.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2021-01-28 11:08:47 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2021-02-02 10:26:58 +0530
commitd758eaf5f8cbdf2554e34269c75694f60c38745d (patch)
tree896cd6b906dfda3ae072d4117e1db1e76c70e946 /drivers/opp/core.c
parentopp: Correct debug message in _opp_add_static_v2() (diff)
downloadlinux-dev-d758eaf5f8cbdf2554e34269c75694f60c38745d.tar.xz
linux-dev-d758eaf5f8cbdf2554e34269c75694f60c38745d.zip
opp: Staticize _add_opp_table()
_add_opp_table() isn't used outside of core.c, mark it static. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/opp/core.c')
-rw-r--r--drivers/opp/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/opp/core.c b/drivers/opp/core.c
index 253bc87b5695..dc7a298f3611 100644
--- a/drivers/opp/core.c
+++ b/drivers/opp/core.c
@@ -1193,7 +1193,7 @@ unlock:
return opp_table;
}
-struct opp_table *_add_opp_table(struct device *dev)
+static struct opp_table *_add_opp_table(struct device *dev)
{
return _add_opp_table_indexed(dev, 0);
}