gpio: lp3943: Drop pin_used and lp3943_gpio_request/lp3943_gpio_free
[deliverable/linux.git] / include / linux / evm.h
index 1fcb88ca88dec582a5ce0c83407bd435c71532a7..35ed9a8a403a8557aba07222503daf6fa29bac7a 100644 (file)
@@ -14,6 +14,7 @@
 struct integrity_iint_cache;
 
 #ifdef CONFIG_EVM
+extern int evm_set_key(void *key, size_t keylen);
 extern enum integrity_status evm_verifyxattr(struct dentry *dentry,
                                             const char *xattr_name,
                                             void *xattr_value,
@@ -42,6 +43,12 @@ static inline int posix_xattr_acl(const char *xattrname)
 }
 #endif
 #else
+
+static inline int evm_set_key(void *key, size_t keylen)
+{
+       return -EOPNOTSUPP;
+}
+
 #ifdef CONFIG_INTEGRITY
 static inline enum integrity_status evm_verifyxattr(struct dentry *dentry,
                                                    const char *xattr_name,
This page took 0.031404 seconds and 5 git commands to generate.