summaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorkernel test robot <lkp@intel.com>2021-06-03 23:39:36 +0800
committerHans de Goede <hdegoede@redhat.com>2021-06-16 17:47:52 +0200
commitae8ee4c1e43af131088bb2da1163fdb864f6f6a2 (patch)
tree1563438f7476ee5af7ba9d475c43dbbaca778cb9 /drivers/platform
parent14227ce92a402f7a3d51d05dae14d9d22211e501 (diff)
platform/x86: dell-wmi-sysman: fw_attr_inuse can be static
drivers/platform/x86/firmware_attributes_class.c:11:5: warning: symbol 'fw_attr_inuse' was not declared. Should it be static? Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/r/20210603153936.GA65404@7832cb195c0b Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/firmware_attributes_class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/firmware_attributes_class.c b/drivers/platform/x86/firmware_attributes_class.c
index d62ec3d71ede..fafe8eaf6e3e 100644
--- a/drivers/platform/x86/firmware_attributes_class.c
+++ b/drivers/platform/x86/firmware_attributes_class.c
@@ -8,7 +8,7 @@
#include "firmware_attributes_class.h"
static DEFINE_MUTEX(fw_attr_lock);
-int fw_attr_inuse;
+static int fw_attr_inuse;
static struct class firmware_attributes_class = {
.name = "firmware-attributes",