author: Jorge Ramirez-Ortiz <jorge@foundries.io> 2020-08-31 18:11:02 +0200
committer: Jens Wiklander <jens.wiklander@linaro.org> 2020-09-01 12:03:16 +0200
commit: 539f8fc253ece5501fdea1a6aa227d0618374111
parent: c05210ab975771e161427eb47696b869d820bdaf
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/drivers/tee/optee/rpc.c b/drivers/tee/optee/rpc.c
index 64a206c56264..1e3614e4798f 100644
--- a/drivers/tee/optee/rpc.c
+++ b/drivers/tee/optee/rpc.c
@@ -50,7 +50,7 @@ bad:
arg->ret = TEEC_ERROR_BAD_PARAMETERS;
}
-#if IS_ENABLED(CONFIG_I2C)
+#if IS_REACHABLE(CONFIG_I2C)
static void handle_rpc_func_cmd_i2c_transfer(struct tee_context *ctx,
struct optee_msg_arg *arg)
{