mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
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:
parent
73511ff30c
commit
b7bca2d7ff
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user