cpufreq: intel_pstate: hide unused intel_pstate_cpu_oob_ids[]
authorArnd Bergmann <arnd@arndb.de>
Wed, 3 Apr 2024 08:06:45 +0000 (10:06 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 3 Apr 2024 14:41:59 +0000 (16:41 +0200)
commit8c556541a53848d6611ff8b5f9bf52e96c56f48e
treef1e3512193e7b2f4ebde4206b9b2dbc1bff8b313
parente8217b4bece379e66d43ab5070431712f07bf625
cpufreq: intel_pstate: hide unused intel_pstate_cpu_oob_ids[]

The reference to this variable is hidden in an #ifdef:

drivers/cpufreq/intel_pstate.c:2440:32: error: 'intel_pstate_cpu_oob_ids' defined but not used [-Werror=unused-const-variable=]

Use the same check around the definition.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c