diff options
| -rw-r--r-- | security/keys/trusted-keys/trusted_core.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/security/keys/trusted-keys/trusted_core.c b/security/keys/trusted-keys/trusted_core.c index d5c891d8d353..5b35f1b87644 100644 --- a/security/keys/trusted-keys/trusted_core.c +++ b/security/keys/trusted-keys/trusted_core.c @@ -27,10 +27,10 @@ module_param_named(source, trusted_key_source, charp, 0);  MODULE_PARM_DESC(source, "Select trusted keys source (tpm or tee)");  static const struct trusted_key_source trusted_key_sources[] = { -#if defined(CONFIG_TCG_TPM) +#if IS_REACHABLE(CONFIG_TCG_TPM)  	{ "tpm", &trusted_key_tpm_ops },  #endif -#if defined(CONFIG_TEE) +#if IS_REACHABLE(CONFIG_TEE)  	{ "tee", &trusted_key_tee_ops },  #endif  }; | 
