[PATCH] make fs/proc/base.c:proc_pid_instantiate() static
[firefly-linux-kernel-4.4.55.git] / fs / proc / base.c
index 05ace70d051a87ff2f5cfd28d76e7fa6551b48bc..b859fc749c07115d2e2bbff251b347fa89e2f9c1 100644 (file)
@@ -1885,8 +1885,9 @@ out:
        return;
 }
 
-struct dentry *proc_pid_instantiate(struct inode *dir,
-       struct dentry * dentry, struct task_struct *task, void *ptr)
+static struct dentry *proc_pid_instantiate(struct inode *dir,
+                                          struct dentry * dentry,
+                                          struct task_struct *task, void *ptr)
 {
        struct dentry *error = ERR_PTR(-ENOENT);
        struct inode *inode;