platform/x86: dell-smbios-wmi: make function dell_smbios_wmi_call static
authorColin Ian King <colin.king@canonical.com>
Sat, 30 Jun 2018 12:10:24 +0000 (13:10 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 2 Jul 2018 13:48:22 +0000 (16:48 +0300)
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>
drivers/platform/x86/dell-smbios-wmi.c

index fbefedb1c17237c5a926446bb9162ef2a8fcb993..88afe5651d24aec8e1d30b748cd67f295d1558d5 100644 (file)
@@ -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;