diff options
author | Tom Rix <trix@redhat.com> | 2023-04-04 02:33:37 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-04-11 20:47:20 +0200 |
commit | 11fa52fe619acfa945712d94a0bc27c0f5bc49de (patch) | |
tree | 547fc93f2333f8c0c84129b241a53a9e6bf69d9a /drivers/acpi | |
parent | cpufreq: drivers with target_index() must set freq_table (diff) | |
download | linux-11fa52fe619acfa945712d94a0bc27c0f5bc49de.tar.xz linux-11fa52fe619acfa945712d94a0bc27c0f5bc49de.zip |
cpufreq: amd-pstate: Make varaiable mode_state_machine static
smatch reports
drivers/cpufreq/amd-pstate.c:907:25: warning: symbol
'mode_state_machine' was not declared. Should it be static?
This variable is only used in one file so it should be static.
Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Wyes Karny <wyes.karny@amd.com>
Tested-by: Wyes Karny <wyes.karny@amd.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
[ rjw: Subject edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions