aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/x86/dell-smbios.c
diff options
context:
space:
mode:
authorMichał Kępień2016-01-22 15:27:26 +0100
committerDarren Hart2016-03-23 10:05:43 -0700
commitb7bca2d7ff1a232466fa5447ec27e62bf02b310f (patch)
tree93b789f175fe79f1d3f41a7bc33ead3d64efa86c /drivers/platform/x86/dell-smbios.c
parent73511ff30c6dc5347ede4c2a2fa5ab22fae3f152 (diff)
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>
Diffstat (limited to 'drivers/platform/x86/dell-smbios.c')
-rw-r--r--drivers/platform/x86/dell-smbios.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/platform/x86/dell-smbios.c b/drivers/platform/x86/dell-smbios.c
index c9efa9e017c1..2a4992a9c538 100644
--- a/drivers/platform/x86/dell-smbios.c
+++ b/drivers/platform/x86/dell-smbios.c
@@ -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)
{