summaryrefslogtreecommitdiff
path: root/drivers/tee/optee/core.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-07-01 15:26:06 +0300
committerJens Wiklander <jens.wiklander@linaro.org>2017-08-04 11:30:27 +0300
commit53e3ca5cee24f5fafe4e9ff5fe4b230e1a1b85ed (patch)
treec40ad74fe44768fee9a9c33062a38256ebce3bfd /drivers/tee/optee/core.c
parent999616b8536cf3b9a1d0d74d5542ea009df482ff (diff)
downloadlinux-53e3ca5cee24f5fafe4e9ff5fe4b230e1a1b85ed.tar.xz
tee: tee_shm: Constify dma_buf_ops structures.
dma_buf_ops are not supposed to change at runtime. All functions working with dma_buf_ops provided by <linux/dma-buf.h> work with const dma_buf_ops. So mark the non-const structs as const. File size before: text data bss dec hex filename 2026 112 0 2138 85a drivers/tee/tee_shm.o File size After adding 'const': text data bss dec hex filename 2138 0 0 2138 85a drivers/tee/tee_shm.o Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'drivers/tee/optee/core.c')
0 files changed, 0 insertions, 0 deletions