diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2023-06-08 10:25:07 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2023-06-08 10:25:07 +0300 |
commit | 167eb2bd947d9c04b0f6f1a5495ce4a99eeab598 (patch) | |
tree | 4448fd680bd2e34cef6f62d7bfd6a11669e9c797 /drivers/opp/of.c | |
parent | b2a2ab039bd58f51355e33d7d3fc64605d7f870d (diff) | |
download | linux-167eb2bd947d9c04b0f6f1a5495ce4a99eeab598.tar.xz |
OPP: Staticize `lazy_opp_tables` in of.c
`lazy_opp_tables` is only used in of.c, move it there and mark it
`static`.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/opp/of.c')
-rw-r--r-- | drivers/opp/of.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/opp/of.c b/drivers/opp/of.c index 8246e9b7afe7..c740a907ef76 100644 --- a/drivers/opp/of.c +++ b/drivers/opp/of.c @@ -21,6 +21,9 @@ #include "opp.h" +/* OPP tables with uninitialized required OPPs */ +static LIST_HEAD(lazy_opp_tables); + /* * Returns opp descriptor node for a device node, caller must * do of_node_put(). |