summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-07-01 17:56:06 +0530
committerVictor Chong <victor.chong@linaro.org>2018-01-12 16:44:44 +0000
commitab64937ab167aa599e74d3b7edfd1d01651b686f (patch)
treedda5fe2dbbb075714f5459354783272a6fa2cbd0 /lib/mpi/mpi-inline.h
parent185c2d72a1f6d8ba8e6ecff89582a274cb815253 (diff)
BACKPORT: 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 Change-Id: I6dfa99c45bf0078d7048525fa0554bc1f607f1e9 Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> (cherry picked from commit 53e3ca5cee24f5fafe4e9ff5fe4b230e1a1b85ed) Signed-off-by: Victor Chong <victor.chong@linaro.org>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions