evm: remove TCG_TPM dependency
[firefly-linux-kernel-4.4.55.git] / security / integrity / ima / ima_fs.c
index ef21b96a0b4231638c4d932747174bbda2b73309..e1aa2b482dd2c5ae064a024656baa3f524c3a4aa 100644 (file)
@@ -287,7 +287,7 @@ static atomic_t policy_opencount = ATOMIC_INIT(1);
 /*
  * ima_open_policy: sequentialize access to the policy file
  */
-int ima_open_policy(struct inode * inode, struct file * filp)
+static int ima_open_policy(struct inode * inode, struct file * filp)
 {
        /* No point in being allowed to open it if you aren't going to write */
        if (!(filp->f_flags & O_WRONLY))