diff options
author | Tom Rix <[email protected]> | 2022-06-29 15:20:45 -0400 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2022-06-29 21:41:59 +0200 |
commit | a578cc3af5cea5c7a912d2cfb8601875eb8ce451 (patch) | |
tree | 25c4695eac9b478def5ff363cb717d931f2dff08 /lib/mpi/mpi-cmp.c | |
parent | a5a3d94fc4edecb894bc79810aea511ff9261c09 (diff) |
power: reset: pwr-mlxbf: change rst_pwr_hid and low_pwr_hid from global to local variables
sparse reports
drivers/power/reset/pwr-mlxbf.c:19:12: warning: symbol 'rst_pwr_hid' was not declared. Should it be static?
drivers/power/reset/pwr-mlxbf.c:20:12: warning: symbol 'low_pwr_hid' was not declared. Should it be static?
Both rst_pwr_hid and low_pwr_hid are only used in a single function
so they should be local variables.
Fixes: a4c0094fcf76 ("power: reset: pwr-mlxbf: add BlueField SoC power control driver")
Signed-off-by: Tom Rix <[email protected]>
Acked-by: Asmaa Mnebhi <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions