diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2021-01-28 11:08:47 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2021-02-02 10:26:58 +0530 |
commit | d758eaf5f8cbdf2554e34269c75694f60c38745d (patch) | |
tree | 896cd6b906dfda3ae072d4117e1db1e76c70e946 /drivers/opp/opp.h | |
parent | d7b9d9b31a3e55dcc9b5c289abfafe31efa5b5c4 (diff) |
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/opp.h')
-rw-r--r-- | drivers/opp/opp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/opp/opp.h b/drivers/opp/opp.h index 4ced7ffa8158..ee2593afae0c 100644 --- a/drivers/opp/opp.h +++ b/drivers/opp/opp.h @@ -223,7 +223,6 @@ int _opp_compare_key(struct dev_pm_opp *opp1, struct dev_pm_opp *opp2); int _opp_add(struct device *dev, struct dev_pm_opp *new_opp, struct opp_table *opp_table, bool rate_not_available); int _opp_add_v1(struct opp_table *opp_table, struct device *dev, unsigned long freq, long u_volt, bool dynamic); void _dev_pm_opp_cpumask_remove_table(const struct cpumask *cpumask, int last_cpu); -struct opp_table *_add_opp_table(struct device *dev); struct opp_table *_add_opp_table_indexed(struct device *dev, int index); void _put_opp_list_kref(struct opp_table *opp_table); |