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: 10441 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 8A61E24050 for ; Wed, 1 Aug 2012 11:47:21 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 5B760A18F0D for ; Wed, 1 Aug 2012 11:47:21 +0000 (UTC) Received: by yhpp61 with SMTP id p61so7050180yhp.11 for ; Wed, 01 Aug 2012 04:47:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=70uc0CxMwuGv8BYRcOJK/mMNH0kDLQVDKlcyobVe1IY=; b=QThaBHNUGK3Mj2qOZ2RfrXq9C/WFa5diDAfTD6PFbc3vZpbg1R2p8jKDQy7vZgCzgd dDlaNpPpUnvJHpC+1avM8GfrxALNvEAU++Irlzhd/mtOSwsqVCcbJE4Tum/ZvCQY2Mzw TdFKkyhwi6DRC57Nh7GvTIUpC94fM9Kv/yVjF+ywJ4lv5SVIlbHut3yTI+fKxqnI8uml 9anic2UTd+Nw01XVL6lKbBfM0WHu28IKcCFW5bQxJYPPZZLZFnuCf6mIFO0nd2O/uMWs uUhSP4Qcy7bRAeHyDpkppN73FRLitv3SfwkJAnf9tECm4uxvt8rdvxkHduAZUKRl+VuQ jgsA== Received: by 10.50.94.166 with SMTP id dd6mr5015375igb.11.1343821640538; Wed, 01 Aug 2012 04:47:20 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.87.40 with SMTP id u8csp194001igz; Wed, 1 Aug 2012 04:47:20 -0700 (PDT) Received: by 10.68.228.231 with SMTP id sl7mr49600583pbc.45.1343821639931; Wed, 01 Aug 2012 04:47:19 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id tv8si5672844pbc.329.2012.08.01.04.47.19 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Aug 2012 04:47:19 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by pbbrr4 with SMTP id rr4so1158763pbb.37 for ; Wed, 01 Aug 2012 04:47:19 -0700 (PDT) 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 Cc: airlied@linux.ie, sachin.kamat@linaro.org, patches@linaro.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: ALoCoQlULo6uSpfHUPy+cGeTDZeeyQtUgiPs1bieFtNPEcgubh4cVEE3T887OZbwcZ0LM5VwiDT6 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;