diff options
author | Guenter Roeck <linux@roeck-us.net> | 2019-03-26 21:29:12 +0100 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-04-08 19:55:08 +0200 |
commit | 9ae11e237d951f52a7c0e1a404dc7dd4ae1ee4fa (patch) | |
tree | 7952db064d989f3a1ef31b65d263913c1e0ab68a /drivers/platform | |
parent | platform/x86: intel_pmc_ipc: adding error handling (diff) | |
download | linux-9ae11e237d951f52a7c0e1a404dc7dd4ae1ee4fa.tar.xz linux-9ae11e237d951f52a7c0e1a404dc7dd4ae1ee4fa.zip |
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>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/intel_pmc_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/intel_pmc_core.c b/drivers/platform/x86/intel_pmc_core.c index f2c621b55f49..9908d233305e 100644 --- a/drivers/platform/x86/intel_pmc_core.c +++ b/drivers/platform/x86/intel_pmc_core.c @@ -828,7 +828,7 @@ static const struct pci_device_id pmc_pci_ids[] = { * the platform BIOS enforces 24Mhx Crystal to shutdown * before PMC can assert SLP_S0#. */ -int quirk_xtal_ignore(const struct dmi_system_id *id) +static int quirk_xtal_ignore(const struct dmi_system_id *id) { struct pmc_dev *pmcdev = &pmc; u32 value; |