diff options
author | Michał Kępień | 2016-01-22 15:27:21 +0100 |
---|---|---|
committer | Darren Hart | 2016-03-23 10:05:41 -0700 |
commit | 92ebd0d1a80930c52eb091d497d4527c4fe556ca (patch) | |
tree | f32f4c06f0c9a7b292cb2ba82f843986c680b805 /drivers/platform/x86/dell-smbios.c | |
parent | bc2104c27aad0c988d23c6abcd46f3313618bdbb (diff) |
dell-smbios: make the SMBIOS buffer static
As dell-laptop has been changed to always retrieve a pointer to the
SMBIOS buffer using dell_smbios_get_buffer(), the SMBIOS buffer 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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/platform/x86/dell-smbios.c b/drivers/platform/x86/dell-smbios.c index 1427899c4f8f..2577cf6aff0f 100644 --- a/drivers/platform/x86/dell-smbios.c +++ b/drivers/platform/x86/dell-smbios.c @@ -31,8 +31,7 @@ struct calling_interface_structure { struct calling_interface_token tokens[]; } __packed; -struct calling_interface_buffer *buffer; -EXPORT_SYMBOL_GPL(buffer); +static struct calling_interface_buffer *buffer; static DEFINE_MUTEX(buffer_mutex); static int da_command_address; |