Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754947AbaAFPKx (ORCPT ); Mon, 6 Jan 2014 10:10:53 -0500 Received: from mail-pd0-f175.google.com ([209.85.192.175]:50514 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751099AbaAFPKw (ORCPT ); Mon, 6 Jan 2014 10:10:52 -0500 Date: Mon, 6 Jan 2014 20:40:43 +0530 From: Rashika Kheria To: linux-kernel@vger.kernel.org Cc: David Airlie , Ben Skeggs , Ilia Mirkin , Rashika Kheria , dri-devel@lists.freedesktop.org, josh@joshtriplett.org Subject: [PATCH 14/85] drivers: gpu: Mark function as static in nv94.c Message-ID: <26fb3ef6e7f3306c39d21ab8d766ef98a6ef227c.1389018324.git.rashika.kheria@gmail.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mark function nv94_aux() as static in drm/nouveau/core/subdev/i2c/nv94.c because it is not used outside this file. This eliminates the following warning in drm/nouveau/core/subdev/i2c/nv94.c: drivers/gpu/drm/nouveau/core/subdev/i2c/nv94.c:72:1: warning: no previous prototype for ‘nv94_aux’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett --- drivers/gpu/drm/nouveau/core/subdev/i2c/nv94.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/core/subdev/i2c/nv94.c b/drivers/gpu/drm/nouveau/core/subdev/i2c/nv94.c index df6d3e4..67c5622 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/i2c/nv94.c +++ b/drivers/gpu/drm/nouveau/core/subdev/i2c/nv94.c @@ -68,7 +68,7 @@ auxch_init(struct nouveau_i2c *aux, int ch) return 0; } -int +static int nv94_aux(struct nouveau_i2c_port *base, u8 type, u32 addr, u8 *data, u8 size) { struct nouveau_i2c *aux = nouveau_i2c(base); -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/