Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7bca2d7 authored by Michał Kępień's avatar Michał Kępień Committed by Darren Hart
Browse files

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: default avatarMichał Kępień <kernel@kempniu.pl>
Reviewed-by: default avatarPali Rohár <pali.rohar@gmail.com>
Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
parent 73511ff3
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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)
{
+0 −2
Original line number Diff line number Diff line
@@ -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);