diff options
author | Lyndon Sanche <lsanche@lyndeno.ca> | 2024-05-29 20:47:45 +0300 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-05-30 11:26:01 +0300 |
commit | 33245680ae565aaa114d726bf407c8ff38e75e71 (patch) | |
tree | d76ae5971805de77c8c54c2c201e1ebff1e0f765 /drivers/platform/x86/dell/dell-smbios.h | |
parent | 586d7e4b240ab34ce6df0e48c17e957e7303e181 (diff) | |
download | linux-33245680ae565aaa114d726bf407c8ff38e75e71.tar.xz |
platform/x86: dell-smbios: Move request functions for reuse
Move the dell_send_request and dell_fill_request symbols into smbios-base
so that they can be used in multiple modules.
Signed-off-by: Lyndon Sanche <lsanche@lyndeno.ca>
Link: https://lore.kernel.org/r/20240529174843.13226-3-lsanche@lyndeno.ca
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/dell/dell-smbios.h')
-rw-r--r-- | drivers/platform/x86/dell/dell-smbios.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/platform/x86/dell/dell-smbios.h b/drivers/platform/x86/dell/dell-smbios.h index 756c354b1eef..1d6463cca12a 100644 --- a/drivers/platform/x86/dell/dell-smbios.h +++ b/drivers/platform/x86/dell/dell-smbios.h @@ -64,6 +64,11 @@ int dell_smbios_call_filter(struct device *d, struct calling_interface_buffer *buffer); int dell_smbios_call(struct calling_interface_buffer *buffer); +void dell_fill_request(struct calling_interface_buffer *buffer, + u32 arg0, u32 arg1, u32 arg2, u32 arg3); +int dell_send_request(struct calling_interface_buffer *buffer, + u16 class, u16 select); + struct calling_interface_token *dell_smbios_find_token(int tokenid); enum dell_laptop_notifier_actions { |