提交 e52f6d9f 编写于 作者: W weiyongjun (A) 提交者: Andy Shevchenko

platform/x86: dell-laptop: make some local functions static

Fixes the following sparse warnings:

drivers/platform/x86/dell-laptop.c:289:6: warning:
 symbol 'dell_set_arguments' was not declared. Should it be static?
drivers/platform/x86/dell-laptop.c:298:5: warning:
 symbol 'dell_send_request' was not declared. Should it be static?
Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: NPali Rohár <pali.rohar@gmail.com>
Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
上级 1b46f17d
...@@ -286,7 +286,7 @@ static const struct dmi_system_id dell_quirks[] __initconst = { ...@@ -286,7 +286,7 @@ static const struct dmi_system_id dell_quirks[] __initconst = {
{ } { }
}; };
void dell_set_arguments(u32 arg0, u32 arg1, u32 arg2, u32 arg3) static void dell_set_arguments(u32 arg0, u32 arg1, u32 arg2, u32 arg3)
{ {
memset(buffer, 0, sizeof(struct calling_interface_buffer)); memset(buffer, 0, sizeof(struct calling_interface_buffer));
buffer->input[0] = arg0; buffer->input[0] = arg0;
...@@ -295,7 +295,7 @@ void dell_set_arguments(u32 arg0, u32 arg1, u32 arg2, u32 arg3) ...@@ -295,7 +295,7 @@ void dell_set_arguments(u32 arg0, u32 arg1, u32 arg2, u32 arg3)
buffer->input[3] = arg3; buffer->input[3] = arg3;
} }
int dell_send_request(u16 class, u16 select) static int dell_send_request(u16 class, u16 select)
{ {
int ret; int ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册