aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
diff options
context:
space:
mode:
authorRashika Kheria <rashika.kheria@gmail.com>2014-01-06 11:51:21 -0500
committerThomas Hellstrom <thellstrom@vmware.com>2014-01-08 07:45:56 -0500
commit94844cf06568d9592f985e4bd0b9d759a56043c6 (patch)
tree8f1461c4b30e68d0932d60ec13222e14cc2744e0 /drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
parent8227622f61bc69e4288d60e2be5194d6c9feb593 (diff)
drivers: gpu: Mark functions as static in vmwgfx_fence.c
Mark functions as static because they are not used outside the file drm/vmwgfx/vmwgfx_fence.c. This eliminates the following warnings in drm/vmwgfx/vmwgfx_fence.c: drivers/gpu/drm/vmwgfx/vmwgfx_fence.c:274:6: warning: no previous prototype for ‘vmw_fences_perform_actions’ [-Wmissing-prototypes] drivers/gpu/drm/vmwgfx/vmwgfx_fence.c:900:6: warning: no previous prototype for ‘vmw_fence_obj_add_action’ [-Wmissing-prototypes] drivers/gpu/drm/vmwgfx/vmwgfx_fence.c:996:5: warning: no previous prototype for ‘vmw_event_fence_action_create’ [-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>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_fence.c')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_fence.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c b/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
index 5d3f67768524..436b013b4231 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
@@ -271,7 +271,7 @@ void vmw_fence_obj_unreference(struct vmw_fence_obj **fence_p)
271 spin_unlock_irq(&fman->lock); 271 spin_unlock_irq(&fman->lock);
272} 272}
273 273
274void vmw_fences_perform_actions(struct vmw_fence_manager *fman, 274static void vmw_fences_perform_actions(struct vmw_fence_manager *fman,
275 struct list_head *list) 275 struct list_head *list)
276{ 276{
277 struct vmw_fence_action *action, *next_action; 277 struct vmw_fence_action *action, *next_action;
@@ -897,7 +897,7 @@ static void vmw_event_fence_action_cleanup(struct vmw_fence_action *action)
897 * Note that the action callbacks may be executed before this function 897 * Note that the action callbacks may be executed before this function
898 * returns. 898 * returns.
899 */ 899 */
900void vmw_fence_obj_add_action(struct vmw_fence_obj *fence, 900static void vmw_fence_obj_add_action(struct vmw_fence_obj *fence,
901 struct vmw_fence_action *action) 901 struct vmw_fence_action *action)
902{ 902{
903 struct vmw_fence_manager *fman = fence->fman; 903 struct vmw_fence_manager *fman = fence->fman;
@@ -993,7 +993,7 @@ struct vmw_event_fence_pending {
993 struct drm_vmw_event_fence event; 993 struct drm_vmw_event_fence event;
994}; 994};
995 995
996int vmw_event_fence_action_create(struct drm_file *file_priv, 996static int vmw_event_fence_action_create(struct drm_file *file_priv,
997 struct vmw_fence_obj *fence, 997 struct vmw_fence_obj *fence,
998 uint32_t flags, 998 uint32_t flags,
999 uint64_t user_data, 999 uint64_t user_data,