diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-06-30 13:10:24 +0100 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-07-02 16:48:22 +0300 |
commit | 10a2032d7a6ac1d9e435ecb355fcc297e550d148 (patch) | |
tree | 861107cc0187ab32e7fa49002059b4573fa639e4 | |
parent | 4f5e81a7a68afa7c0a943ab42c61b00a21913db2 (diff) | |
download | linux-stable-10a2032d7a6ac1d9e435ecb355fcc297e550d148.tar.gz linux-stable-10a2032d7a6ac1d9e435ecb355fcc297e550d148.tar.bz2 linux-stable-10a2032d7a6ac1d9e435ecb355fcc297e550d148.zip |
platform/x86: dell-smbios-wmi: make function dell_smbios_wmi_call static
The function dell_smbios_wmi_call is local to the source and does not
need to be in global scope, so make it static.
Cleans up sparse warning:
symbol 'dell_smbios_wmi_call' was not declared. Should it be static?
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Mario Limonciello <mario.limonciello@dell.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
-rw-r--r-- | drivers/platform/x86/dell-smbios-wmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/dell-smbios-wmi.c b/drivers/platform/x86/dell-smbios-wmi.c index fbefedb1c172..88afe5651d24 100644 --- a/drivers/platform/x86/dell-smbios-wmi.c +++ b/drivers/platform/x86/dell-smbios-wmi.c @@ -82,7 +82,7 @@ static int run_smbios_call(struct wmi_device *wdev) return 0; } -int dell_smbios_wmi_call(struct calling_interface_buffer *buffer) +static int dell_smbios_wmi_call(struct calling_interface_buffer *buffer) { struct wmi_smbios_priv *priv; size_t difference; |