aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorArvind Yadav <[email protected]>2017-07-01 18:06:46 +0530
committerDaniel Vetter <[email protected]>2017-07-03 10:07:47 +0200
commit7b4e1eaa9d9eb3662876833bafcbe059eb6ac186 (patch)
tree1c3474f7f665639a00a8258f6801c6da0bfe3247 /tools/perf/scripts
parent8a63ca58f879f7ac40fac5af0bc1b37393ad18ea (diff)
drm/udl: dma-buf: 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 2002 112 0 2114 842 drivers/gpu/drm/udl/udl_dmabuf.o File size After adding 'const': text data bss dec hex filename 2114 0 0 2114 842 drivers/gpu/drm/udl/udl_dmabuf.o Signed-off-by: Arvind Yadav <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/cb4dfac90e85e2270779331f8cb10b635042bad7.1498912415.git.arvind.yadav.cs@gmail.com
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions