]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: wmi: Make two functions static
authorYueHaibing <yuehaibing@huawei.com>
Thu, 2 Apr 2020 07:15:49 +0000 (15:15 +0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 17 Apr 2020 13:47:26 +0000 (16:47 +0300)
commite8fdbb64fd6200626389fd0e9dea67ab1ee13a95
tree9be7c72a257296b4db1841bde4f2e839e4821107
parent2df1115f821b2f723734866f798b1e6240dd389f
platform/x86: wmi: Make two functions static

Fix sparse warnings:

drivers/platform/x86/xiaomi-wmi.c:26:5: warning: symbol 'xiaomi_wmi_probe' was not declared. Should it be static?
drivers/platform/x86/xiaomi-wmi.c:51:6: warning: symbol 'xiaomi_wmi_notify' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/xiaomi-wmi.c