]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: gpu: Mark functions as static in vmwgfx_buffer.c
authorRashika Kheria <rashika.kheria@gmail.com>
Mon, 6 Jan 2014 16:50:21 +0000 (22:20 +0530)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 8 Jan 2014 12:44:26 +0000 (13:44 +0100)
commit482ae0e9e7a627f87bd56dc8cc04ae40db2b2546
tree63c886b1d632ec1c34ea873877df3df957bbc937
parent557d0e84a9fed2f1bd4e4abac0ee11c3bb4cbe1f
drivers: gpu: Mark functions as static in vmwgfx_buffer.c

Mark functions as static because they are not used outside the file
drm/vmwgfx/vmwgfx_buffer.c.

This eliminates the following warnings in drm/vmwgfx/vmwgfx_buffer.c:
drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c:520:16: warning: no previous prototype for ‘vmw_ttm_tt_create’ [-Wmissing-prototypes]
drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c:549:5: warning: no previous prototype for ‘vmw_invalidate_caches’ [-Wmissing-prototypes]
drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c:554:5: warning: no previous prototype for ‘vmw_init_mem_type’ [-Wmissing-prototypes]
drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c:592:6: warning: no previous prototype for ‘vmw_evict_flags’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c