diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-07-15 11:26:32 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-07-15 16:17:06 +0300 |
commit | 3098174990f51671c0a1e660527ac1443e23ed0f (patch) | |
tree | ca86fff5352202fc35d292e6ffaeefc2bf722d22 /drivers/cpufreq/ppc_cbe_cpufreq.h | |
parent | 638b509795a18c88ce391fb94d9191f1abcfe88d (diff) | |
download | linux-3098174990f51671c0a1e660527ac1443e23ed0f.tar.xz |
cpufreq: pcc-cpufreq: Mark sometimes used ID structs as __maybe_unused
Not used when MODULE is not defined.
Fixes the following W=1 kernel build warning(s):
drivers/cpufreq/pcc-cpufreq.c:619:36: warning: ‘processor_device_ids’ defined but not used [-Wunused-const-variable=]
619 | static const struct acpi_device_id processor_device_ids[] = {
| ^~~~~~~~~~~~~~~~~~~~
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/ppc_cbe_cpufreq.h')
0 files changed, 0 insertions, 0 deletions