Skip to contentSkip to conversation

gpu: make 'vmw_event_fence_action_create' static

PATCH New Ghennadi Procopciuc 1 participant 1 message Mar 10, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpu: make 'vmw_event_fence_action_create' static

This fixes the following checkpatch warning :
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c:996:5: warning: symbol 'vmw_event_fence_action_create' was not declared. Should it be static?

---
 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c +1 -1
index c62d20e..e0846e6 100644
@@ -952,7 +952,7 @@ void vmw_fence_obj_add_action(struct vmw_fence_obj *fence,
  * an error code, the caller needs to free that object.
  */
 
-int vmw_event_fence_action_queue(struct drm_file *file_priv,
+static int vmw_event_fence_action_queue(struct drm_file *file_priv,
 				 struct vmw_fence_obj *fence,
 				 struct drm_pending_event *event,
 				 uint32_t *tv_sec,
Signature · 1 line
1.7.10.4