summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/huawei-wmi.c
diff options
context:
space:
mode:
authorkbuild test robot <lkp@intel.com>2019-10-09 17:28:55 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-10-15 10:55:10 +0300
commit9bfc14cb6a6a2d05bd746dccef5c41096b4f392c (patch)
tree6c98d30a14461496b8c36b452da96ebf26df16f9 /drivers/platform/x86/huawei-wmi.c
parentd17f1bbb3aa9631429fa0fe325ad12661d6b226b (diff)
downloadlinux-9bfc14cb6a6a2d05bd746dccef5c41096b4f392c.tar.xz
platform/x86: huawei-wmi: huawei_wmi can be static
Fixes: 7532afb35012 ("platform/x86: huawei-wmi: Move to platform driver") Signed-off-by: kbuild test robot <lkp@intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/huawei-wmi.c')
-rw-r--r--drivers/platform/x86/huawei-wmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/huawei-wmi.c b/drivers/platform/x86/huawei-wmi.c
index 6720f78c60c2..3050444d5330 100644
--- a/drivers/platform/x86/huawei-wmi.c
+++ b/drivers/platform/x86/huawei-wmi.c
@@ -71,7 +71,7 @@ struct huawei_wmi {
struct mutex wmi_lock;
};
-struct huawei_wmi *huawei_wmi;
+static struct huawei_wmi *huawei_wmi;
static const struct key_entry huawei_wmi_keymap[] = {
{ KE_KEY, 0x281, { KEY_BRIGHTNESSDOWN } },