From 9bfc14cb6a6a2d05bd746dccef5c41096b4f392c Mon Sep 17 00:00:00 2001 From: kbuild test robot Date: Wed, 9 Oct 2019 22:28:55 +0800 Subject: [PATCH] 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 Signed-off-by: Andy Shevchenko --- drivers/platform/x86/huawei-wmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } },