platform/x86: huawei-wmi: huawei_wmi can be static
authorkbuild test robot <lkp@intel.com>
Wed, 9 Oct 2019 14:28:55 +0000 (22:28 +0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 15 Oct 2019 07:55:10 +0000 (10:55 +0300)
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>
drivers/platform/x86/huawei-wmi.c

index 6720f78..3050444 100644 (file)
@@ -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 } },