aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/printk/index.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/printk/index.c b/kernel/printk/index.c
index ca062f5e1779..58d27272f992 100644
--- a/kernel/printk/index.c
+++ b/kernel/printk/index.c
@@ -137,13 +137,13 @@ static const char *pi_get_module_name(struct module *mod)
}
#endif
-void pi_create_file(struct module *mod)
+static void pi_create_file(struct module *mod)
{
debugfs_create_file(pi_get_module_name(mod), 0444, dfs_index,
mod, &dfs_index_fops);
}
-void pi_remove_file(struct module *mod)
+static void pi_remove_file(struct module *mod)
{
debugfs_remove(debugfs_lookup(pi_get_module_name(mod), dfs_index));
}