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; diff --git a/drivers/platform/x86/dell-smbios.h b/drivers/platform/x86/dell-smbios.h index f7a51f5ddeed..af653ff29b68 100644 --- a/drivers/platform/x86/dell-smbios.h +++ b/drivers/platform/x86/dell-smbios.h @@ -35,7 +35,6 @@ struct calling_interface_token { }; }; -extern struct calling_interface_buffer *buffer; extern struct calling_interface_token *da_tokens; struct calling_interface_buffer *dell_smbios_get_buffer(void);