summaryrefslogtreecommitdiff
path: root/host/smaf-optee.c
diff options
context:
space:
mode:
Diffstat (limited to 'host/smaf-optee.c')
-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;
}