diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2023-06-08 09:25:07 +0200 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2023-06-08 09:25:07 +0200 |
commit | 167eb2bd947d9c04b0f6f1a5495ce4a99eeab598 (patch) | |
tree | 4448fd680bd2e34cef6f62d7bfd6a11669e9c797 /drivers/opp/opp.h | |
parent | opp: Fix use-after-free in lazy_opp_tables after probe deferral (diff) | |
download | linux-167eb2bd947d9c04b0f6f1a5495ce4a99eeab598.tar.xz linux-167eb2bd947d9c04b0f6f1a5495ce4a99eeab598.zip |
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/opp.h')
-rw-r--r-- | drivers/opp/opp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/opp/opp.h b/drivers/opp/opp.h index 2a057c42ddf4..eb71385d96c1 100644 --- a/drivers/opp/opp.h +++ b/drivers/opp/opp.h @@ -26,7 +26,7 @@ struct regulator; /* Lock to allow exclusive modification to the device and opp lists */ extern struct mutex opp_table_lock; -extern struct list_head opp_tables, lazy_opp_tables; +extern struct list_head opp_tables; /* OPP Config flags */ #define OPP_CONFIG_CLK BIT(0) |