summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/dell-smbios.h
diff options
context:
space:
mode:
authorMichał Kępień <kernel@kempniu.pl>2016-01-22 15:27:19 +0100
committerDarren Hart <dvhart@linux.intel.com>2016-03-23 18:05:40 +0100
commitc42831c8a9db32a5a0e2c6c31042014039f11739 (patch)
treed7da6500e8043fedf0831a9bd0700911a1ec3eb9 /drivers/platform/x86/dell-smbios.h
parentdell-smbios: don't pass an SMBIOS buffer to dell_smbios_send_request() (diff)
downloadlinux-c42831c8a9db32a5a0e2c6c31042014039f11739.tar.xz
linux-c42831c8a9db32a5a0e2c6c31042014039f11739.zip
dell-smbios: don't return an SMBIOS buffer from dell_smbios_send_request()
An SMBIOS buffer pointer does not need to be returned by dell_smbios_send_request(), because SMBIOS call results are stored in the buffer exported by the module. 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.h')
-rw-r--r--drivers/platform/x86/dell-smbios.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/platform/x86/dell-smbios.h b/drivers/platform/x86/dell-smbios.h
index 4220ac1fe703..80b5048f2bd2 100644
--- a/drivers/platform/x86/dell-smbios.h
+++ b/drivers/platform/x86/dell-smbios.h
@@ -41,8 +41,7 @@ extern struct calling_interface_token *da_tokens;
void dell_smbios_get_buffer(void);
void dell_smbios_clear_buffer(void);
void dell_smbios_release_buffer(void);
-struct calling_interface_buffer *
-dell_smbios_send_request(int class, int select);
+void dell_smbios_send_request(int class, int select);
int find_token_id(int tokenid);
int find_token_location(int tokenid);