From patchwork Wed Aug 1 11:45:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 1264131 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 50C22DF215 for ; Wed, 1 Aug 2012 12:38:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5E9EDA0908 for ; Wed, 1 Aug 2012 05:38:05 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pb0-f49.google.com (mail-pb0-f49.google.com [209.85.160.49]) by gabe.freedesktop.org (Postfix) with ESMTP id E26E09E7D5 for ; Wed, 1 Aug 2012 04:47:19 -0700 (PDT) Received: by pbbrq13 with SMTP id rq13so1026238pbb.36 for ; Wed, 01 Aug 2012 04:47:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=70uc0CxMwuGv8BYRcOJK/mMNH0kDLQVDKlcyobVe1IY=; b=lQxJ6Ut6Wnx2aYQrfiziaY3slkt6czuXWK3/AeJ3xkbyhjsv8owH6GxVBrDhI1M77m 2MBjB69aKINnWBXC5LvEI5ADqmgYv01hV436PnwgSjAq/X0zfMgL8y25OJXDFhoT0oKr gWDpwd56gg51F0aMnB4NB4Qea4/u6yK26AmSJ+a8nAjZRlC+ksYlWT5AcXkNgXmdGgwb bCI3R9gfPJGcP6TTMctG392HLuL3MKBECuN2l7kxyI/+ZZ31WPieN3/dwlu6qRM4Gznu 0z59Yof5ZRr7DQ3xaQER4p/0iwB4UGPF7ECe4cpAhq/5L697ntXHHGFDMAFsZUPPwh5w gQ+g== Received: by 10.68.221.227 with SMTP id qh3mr51419750pbc.115.1343821639640; Wed, 01 Aug 2012 04:47:19 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id ov6sm2457221pbb.41.2012.08.01.04.47.17 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Aug 2012 04:47:19 -0700 (PDT) From: Sachin Kamat To: dri-devel@lists.freedesktop.org Subject: [PATCH 2/3] drm: Add missing static storage class specifier in drm_irq.c file Date: Wed, 1 Aug 2012 17:15:31 +0530 Message-Id: <1343821532-30817-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1343821532-30817-1-git-send-email-sachin.kamat@linaro.org> References: <1343821532-30817-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQnerKmT7nD8zH2GEKLpR+tdvRwGUYC69TmD1FrA2Y56v6ROtvSdrHbkPpeaX06uJvwAxNk9 X-Mailman-Approved-At: Wed, 01 Aug 2012 05:34:47 -0700 Cc: sachin.kamat@linaro.org, patches@linaro.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Fixes the following sparse warning: drivers/gpu/drm/drm_irq.c:1239:6: warning: symbol 'drm_handle_vblank_events' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/gpu/drm/drm_irq.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/drm_irq.c b/drivers/gpu/drm/drm_irq.c index 03f16f3..076c4a8 100644 --- a/drivers/gpu/drm/drm_irq.c +++ b/drivers/gpu/drm/drm_irq.c @@ -1236,7 +1236,7 @@ done: return ret; } -void drm_handle_vblank_events(struct drm_device *dev, int crtc) +static void drm_handle_vblank_events(struct drm_device *dev, int crtc) { struct drm_pending_vblank_event *e, *t; struct timeval now;