From patchwork Mon Jan 6 16:41:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rashika X-Patchwork-Id: 3444331 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 A53B99F2E9 for ; Tue, 7 Jan 2014 00:50:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ED0232016D for ; Tue, 7 Jan 2014 00:50:44 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 2045D2016C for ; Tue, 7 Jan 2014 00:50:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 94C1710869F; Mon, 6 Jan 2014 16:50:00 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by gabe.freedesktop.org (Postfix) with ESMTP id 48C411062B8 for ; Mon, 6 Jan 2014 08:44:13 -0800 (PST) Received: by mail-pa0-f50.google.com with SMTP id kp14so16934152pab.37 for ; Mon, 06 Jan 2014 08:44:13 -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=sAKV1kG+CWCzLyrhXSkteDNMfzb41ZY9606EK4zVUkI=; b=WAzinoPz6nlrh/vo6CAUn2/jGm+Xl0CUjR3H8e7j8oyVkG9hKXqXt/eYBJAy8JeiDQ jRRIxljxc2S0Z4048DlodUGi33VDNrCb5X8c9rk2b1nbEDyIFoXTuV/UzMFb6dcHIK0C pe3B/q/g1X2Oe4s4VPRnXwusj3l1nKJt4aYdXycYpQJ7uKxjAAxl0lW24PYOaJh3t3gN MLhouJCwS2cNPIvE1IUr+egKWf+rTNhQQ5BSoYK/qQ5OBTxZdPpexCI+ZbxuL5Vmw6O3 fdmQc+jEVNLORkrATjaf/BDqE3v/ltQGqlxcZoyq2gSvsq/xqWirQ5n3HSFNSn4YiCpN 169A== X-Received: by 10.68.178.229 with SMTP id db5mr127241576pbc.97.1389026653053; Mon, 06 Jan 2014 08:44:13 -0800 (PST) Received: from rashika ([14.139.82.6]) by mx.google.com with ESMTPSA id ae5sm170127322pac.18.2014.01.06.08.44.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 Jan 2014 08:44:09 -0800 (PST) Date: Mon, 6 Jan 2014 22:11:59 +0530 From: Rashika Kheria To: linux-kernel@vger.kernel.org Subject: [PATCH 77/85] drivers: gpu: Mark function as static in sis_drv.c Message-ID: <79a23a4793355037f0ea39189aa5ce29ca77a356.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:48:58 -0800 Cc: Daniel Vetter , josh@joshtriplett.org, dri-devel@lists.freedesktop.org, Dave Airlie , Andrew Morton 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/sis/sis_drv.c. This eliminates the following warning in drm/sis/sis_drv.c: drivers/gpu/drm/sis/sis_drv.c:97:6: warning: no previous prototype for ‘sis_driver_postclose’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett --- drivers/gpu/drm/sis/sis_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sis/sis_drv.c b/drivers/gpu/drm/sis/sis_drv.c index 4383b74..756f787 100644 --- a/drivers/gpu/drm/sis/sis_drv.c +++ b/drivers/gpu/drm/sis/sis_drv.c @@ -94,7 +94,7 @@ static int sis_driver_open(struct drm_device *dev, struct drm_file *file) return 0; } -void sis_driver_postclose(struct drm_device *dev, struct drm_file *file) +static void sis_driver_postclose(struct drm_device *dev, struct drm_file *file) { struct sis_file_private *file_priv = file->driver_priv;