[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1362921126-685-1-git-send-email-ghennadi.procopciuc1@gmail.com>
Date: Sun, 10 Mar 2013 15:12:06 +0200
From: Ghennadi Procopciuc <ghennadi.procopciuc1@...il.com>
To: airlied@...ux.ie
Cc: airlied@...hat.com, paulmck@...ux.vnet.ibm.com, unix140@...il.com,
dhowells@...hat.com, davej@...hat.com,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
Ghennadi Procopciuc <ghennadi.procopciuc1@...il.com>
Subject: [PATCH] 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?
Signed-off-by: Ghennadi Procopciuc <unix140@...il.com>
---
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c b/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
index c62d20e..e0846e6 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
@@ -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,
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists