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

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

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: 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 bc2104c2
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;
+0 −1
Original line number Diff line number Diff line
@@ -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);