mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-16 13:34:30 +00:00
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>
This commit is contained in:
parent
14227ce92a
commit
ae8ee4c1e4
@ -8,7 +8,7 @@
|
|||||||
#include "firmware_attributes_class.h"
|
#include "firmware_attributes_class.h"
|
||||||
|
|
||||||
static DEFINE_MUTEX(fw_attr_lock);
|
static DEFINE_MUTEX(fw_attr_lock);
|
||||||
int fw_attr_inuse;
|
static int fw_attr_inuse;
|
||||||
|
|
||||||
static struct class firmware_attributes_class = {
|
static struct class firmware_attributes_class = {
|
||||||
.name = "firmware-attributes",
|
.name = "firmware-attributes",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user