提交 b7bca2d7 编写于 作者: M Michał Kępień 提交者: Darren Hart

dell-smbios: make da_tokens static

As dell-laptop has been changed to use dell_smbios_find_token() instead
of directly accessing members of the da_tokens table, the latter can be
marked static.
Signed-off-by: NMichał Kępień <kernel@kempniu.pl>
Reviewed-by: NPali Rohár <pali.rohar@gmail.com>
Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
上级 73511ff3
......@@ -37,8 +37,7 @@ static DEFINE_MUTEX(buffer_mutex);
static int da_command_address;
static int da_command_code;
static int da_num_tokens;
struct calling_interface_token *da_tokens;
EXPORT_SYMBOL_GPL(da_tokens);
static struct calling_interface_token *da_tokens;
struct calling_interface_buffer *dell_smbios_get_buffer(void)
{
......
......@@ -35,8 +35,6 @@ struct calling_interface_token {
};
};
extern struct calling_interface_token *da_tokens;
struct calling_interface_buffer *dell_smbios_get_buffer(void);
void dell_smbios_clear_buffer(void);
void dell_smbios_release_buffer(void);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册