From: Ghennadi Procopciuc Subject: [PATCH] make 'vmw_fence_obj_add_action' static Date: Sun, 10 Mar 2013 15:43:22 +0200 Message-ID: <1362923002-561-1-git-send-email-ghennadi.procopciuc1@gmail.com> Return-path: Sender: linux-kernel-owner@vger.kernel.org To: airlied@linux.ie Cc: ghennadi.procopciuc1@gmail.com, airlied@redhat.com, paulmck@linux.vnet.ibm.com, dhowells@redhat.com, davej@redhat.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org List-Id: dri-devel@lists.freedesktop.org This fixes the following checkpatch warning : drivers/gpu/drm/vmwgfx/vmwgfx_fence.c:274:6: warning: symbol 'vmw_fences_perform_actions' was not declared. Should it be static? Signed-off-by: Ghennadi Procopciuc --- 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 2762fe3..07a463f 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c @@ -897,7 +897,7 @@ static void vmw_event_fence_action_cleanup(struct vmw_fence_action *action) * Note that the action callbacks may be executed before this function * returns. */ -void vmw_fence_obj_add_action(struct vmw_fence_obj *fence, +static void vmw_fence_obj_add_action(struct vmw_fence_obj *fence, struct vmw_fence_action *action) { struct vmw_fence_manager *fman = fence->fman; -- 1.7.10.4