]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: intel_pmc_core: Mark local function static
authorGuenter Roeck <linux@roeck-us.net>
Tue, 26 Mar 2019 20:29:12 +0000 (13:29 -0700)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 8 Apr 2019 17:55:08 +0000 (20:55 +0300)
commit9ae11e237d951f52a7c0e1a404dc7dd4ae1ee4fa
tree7952db064d989f3a1ef31b65d263913c1e0ab68a
parente61985d0550df8c2078310202aaad9b41049c36c
platform/x86: intel_pmc_core: Mark local function static

0day reports:

drivers/platform/x86/intel_pmc_core.c:833:5: sparse:
symbol 'quirk_xtal_ignore' was not declared. Should it be static?

Mark the function static since it is indeed only called locally.

Cc: Rajneesh Bhardwaj <rajneesh.bhardwaj@linux.intel.com>
Fixes: 238f9c11351f ("platform/x86: intel_pmc_core: Quirk to ignore XTAL shutdown")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_pmc_core.c