Merge tag 'modules-for-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu...
[sfrench/cifs-2.6.git] / drivers / acpi / sysfs.c
index cf2c1b2b2d6487305ac8f061cbd10e1465fff5da..06a150bb35bf7bb5041d74bcb691c0f9f63ea278 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * sysfs.c - ACPI sysfs interface to userspace.
  */
@@ -168,7 +169,8 @@ module_param_cb(debug_level, &param_ops_debug_level, &acpi_dbg_level, 0644);
 
 static char trace_method_name[1024];
 
-int param_set_trace_method_name(const char *val, const struct kernel_param *kp)
+static int param_set_trace_method_name(const char *val,
+                                      const struct kernel_param *kp)
 {
        u32 saved_flags = 0;
        bool is_abs_path = true;