From patchwork Mon Jan 6 16:47:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rashika X-Patchwork-Id: 3444501 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 014F29F2E9 for ; Tue, 7 Jan 2014 00:51:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4C5C32016C for ; Tue, 7 Jan 2014 00:51:22 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 88D172017A for ; Tue, 7 Jan 2014 00:51:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EE6F310870B; Mon, 6 Jan 2014 16:50:58 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by gabe.freedesktop.org (Postfix) with ESMTP id 768F6106332 for ; Mon, 6 Jan 2014 08:47:05 -0800 (PST) Received: by mail-pa0-f54.google.com with SMTP id rd3so18823312pab.13 for ; Mon, 06 Jan 2014 08:47:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=Y15iy0MEZIDRtPoay3WU6JGMGIHAsfP/Wn11PQX7SSo=; b=GzcapqjTtVCpjuDn4wH8OQPDiXb90Myxn7NSDf9ArINuqlCj1YrJFpdEypRkKrRM7m 7erjka/1NN81AFOnQ0kTQac9wAaYwdVeKVQYuHdnLs8KKjQddFeG6s027P+Ofb8sJXsd ttLPv5PafRTs5spPDtTsY3oqqVYG48vPM6iLWQLh4oFHx9zwwzAeGvOCp7Z8oK2OsXWG erm5TTonR8Q3qKqEAcJR/K2uNrZ5Tu0yzJdMonUNkRrXGkkjO6hhXlRkWHhoHvcZEofC p+3c5aztAuFX4DoC4UUuIFfVROQLlw3qU5IX1zzdJUObw8bgIs9T3u607/iN9+0j8rd4 YgHw== X-Received: by 10.68.242.68 with SMTP id wo4mr129724648pbc.32.1389026825376; Mon, 06 Jan 2014 08:47:05 -0800 (PST) Received: from rashika ([14.139.82.6]) by mx.google.com with ESMTPSA id jk16sm129978441pbb.34.2014.01.06.08.47.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 Jan 2014 08:47:04 -0800 (PST) Date: Mon, 6 Jan 2014 22:17:01 +0530 From: Rashika Kheria To: linux-kernel@vger.kernel.org Subject: [PATCH 81/85] drivers: gpu: Mark function as static in via_drv.c Message-ID: <7b87ac2382aeacb58cc9ad769be0cb20575f9e74.1389018325.git.rashika.kheria@gmail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Mailman-Approved-At: Mon, 06 Jan 2014 16:49:00 -0800 Cc: Daniel Vetter , josh@joshtriplett.org, dri-devel@lists.freedesktop.org, Andy Lutomirski , Laurent Pinchart , Dave Airlie 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: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Mark function as static because it is not used outside the file drm/via/via_drv.c. This eliminates the following warning in drm/via/via_drv.c: drivers/gpu/drm/via/via_drv.c:49:6: warning: no previous prototype for ‘via_driver_postclose’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett --- drivers/gpu/drm/via/via_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/via/via_drv.c b/drivers/gpu/drm/via/via_drv.c index 92684a9..50abc2a 100644 --- a/drivers/gpu/drm/via/via_drv.c +++ b/drivers/gpu/drm/via/via_drv.c @@ -46,7 +46,7 @@ static int via_driver_open(struct drm_device *dev, struct drm_file *file) return 0; } -void via_driver_postclose(struct drm_device *dev, struct drm_file *file) +static void via_driver_postclose(struct drm_device *dev, struct drm_file *file) { struct via_file_private *file_priv = file->driver_priv;