summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>2015-07-03 15:37:04 +0200
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>2015-07-03 15:37:04 +0200
commit2a981c229030a9cc46487ba2c75aa48a5d6413de (patch)
treee76546696e77bbb9b7abebef2a64fd69057fe2ee
parent976cf41e6f50f5d50b85ad7596a6a4a95813c2d8 (diff)
downloadoptee-sdp-2a981c229030a9cc46487ba2c75aa48a5d6413de.tar.gz
change smaf_optee_allow_cpu_access prototype
make it align with smaf API definition Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
-rw-r--r--host/smaf-optee.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/smaf-optee.c b/host/smaf-optee.c
index bbbaa8b..575b6bf 100644
--- a/host/smaf-optee.c
+++ b/host/smaf-optee.c
@@ -351,7 +351,7 @@ static void smaf_optee_revoke_access(void *ctx,
sdp_revoke_access(client, dev, addr, size, direction);
}
-static int smaf_optee_allow_cpu_access(void *ctx, enum dma_data_direction direction)
+static bool smaf_optee_allow_cpu_access(void *ctx, enum dma_data_direction direction)
{
return direction == DMA_TO_DEVICE;
}