Commit 8c55654
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>1 parent e8217b4 commit 8c55654
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2397 | 2397 | | |
2398 | 2398 | | |
2399 | 2399 | | |
| 2400 | + | |
2400 | 2401 | | |
2401 | 2402 | | |
2402 | 2403 | | |
| |||
2405 | 2406 | | |
2406 | 2407 | | |
2407 | 2408 | | |
| 2409 | + | |
2408 | 2410 | | |
2409 | 2411 | | |
2410 | 2412 | | |
| |||
0 commit comments