diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-07-17 07:39:53 -0700 |
---|---|---|
committer | Sinclair Yeh <syeh@vmware.com> | 2017-07-17 23:40:57 -0700 |
commit | 9036f8c7cf42af2c0d50e8bbc493323239a30423 (patch) | |
tree | 7125a339aaed2d21191c9a36923e27111e40fa3c /arch/m32r/include/asm/m32r_mp_fpga.h | |
parent | 8bd6287ffdb95a623bdbad37e49d1c12c60970ed (diff) |
drm/vmwgfx: dma-buf: Constify ttm_place structures.
ttm_place are not supposed to change at runtime. All functions
working with ttm_place provided by <drm/ttm/ttm_placement.h> work
with const ttm_place. So mark the non-const structs as const.
File size before:
text data bss dec hex filename
3172 796 16 3984 f90 drivers/gpu/drm/vmwgfx/vmwgfx_buffer.o
File size After adding 'const':
text data bss dec hex filename
3456 512 16 3984 f90 drivers/gpu/drm/vmwgfx/vmwgfx_buffer.o
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Diffstat (limited to 'arch/m32r/include/asm/m32r_mp_fpga.h')
0 files changed, 0 insertions, 0 deletions