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: Michał Kępień <kernel@kempniu.pl>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
This commit is contained in:
Michał Kępień 2016-01-22 15:27:26 +01:00 committed by Darren Hart
parent 73511ff30c
commit b7bca2d7ff
2 changed files with 1 additions and 4 deletions

View File

@ -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)
{

View File

@ -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);