linux/drivers/platform/x86/intel/pmc
Tom Rix b4e74f6842 platform/x86/intel: pmc/core: change pmc_lpm_modes to static
Sparse reports this issue
core.c: note: in included file:
core.h:239:12: warning: symbol 'pmc_lpm_modes' was not declared. Should it be static?

Global variables should not be defined in headers.  This only works
because core.h is only included by core.c. Single file use
variables should be static, so change its storage-class specifier
to static.

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: David E. Box <david.e.box@linux.intel.com>
Link: https://lore.kernel.org/r/20220423123048.591405-1-trix@redhat.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2022-04-27 16:50:25 +02:00
..
core.c platform/x86/intel: pmc/core: Add GBE Package C10 fix for Alder Lake PCH 2021-08-20 20:33:35 +02:00
core.h platform/x86/intel: pmc/core: change pmc_lpm_modes to static 2022-04-27 16:50:25 +02:00
Kconfig
Makefile
pltdrv.c platform/x86: intel_pmc_core: fix memleak on registration failure 2021-12-23 19:30:32 +01:00