Commit 0bd1937a authored by Olof Johansson's avatar Olof Johansson
Browse files

Merge tag 'optee-i2c-fix-for-v5.10' of...

Merge tag 'optee-i2c-fix-for-v5.10' of git://git.linaro.org:/people/jens.wiklander/linux-tee into arm/drivers

Make sure I2C functions used in OP-TEE are reachable with IS_REACHABLE()

* tag 'optee-i2c-fix-for-v5.10' of git://git.linaro.org:/people/jens.wiklander/linux-tee:
  drivers: optee: fix i2c build issue

Link: https://lore.kernel.org/r/20200901101806.GA3286324@jade


Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parents aa10e3cf 539f8fc2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{