Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751448AbWHMVDf (ORCPT ); Sun, 13 Aug 2006 17:03:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751449AbWHMVDf (ORCPT ); Sun, 13 Aug 2006 17:03:35 -0400 Received: from mailout.stusta.mhn.de ([141.84.69.5]:3854 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S1751448AbWHMVAS (ORCPT ); Sun, 13 Aug 2006 17:00:18 -0400 Date: Sun, 13 Aug 2006 23:00:17 +0200 From: Adrian Bunk To: Andrew Morton , v4l-dvb-maintainer@linuxtv.org Cc: linux-kernel@vger.kernel.org Subject: [-mm patch] drivers/media/dvb/frontends/: make 4 functions static Message-ID: <20060813210017.GL3543@stusta.de> References: <20060813012454.f1d52189.akpm@osdl.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060813012454.f1d52189.akpm@osdl.org> User-Agent: Mutt/1.5.12-2006-07-14 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2495 Lines: 71 On Sun, Aug 13, 2006 at 01:24:54AM -0700, Andrew Morton wrote: >... > Changes since 2.6.18-rc3-mm2: >... > git-dvb.patch >... > git trees >... This patch makes four needlessly global functions static. Signed-off-by: Adrian Bunk --- drivers/media/dvb/frontends/stv0299.c | 2 +- drivers/media/dvb/frontends/tda10021.c | 2 +- drivers/media/dvb/frontends/tda1004x.c | 2 +- drivers/media/dvb/frontends/zl10353.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) --- linux-2.6.18-rc4-mm1/drivers/media/dvb/frontends/stv0299.c.old 2006-08-13 17:56:46.000000000 +0200 +++ linux-2.6.18-rc4-mm1/drivers/media/dvb/frontends/stv0299.c 2006-08-13 17:56:56.000000000 +0200 @@ -92,7 +92,7 @@ return (ret != 1) ? -EREMOTEIO : 0; } -int stv0299_write(struct dvb_frontend* fe, u8 *buf, int len) +static int stv0299_write(struct dvb_frontend* fe, u8 *buf, int len) { struct stv0299_state* state = fe->demodulator_priv; --- linux-2.6.18-rc4-mm1/drivers/media/dvb/frontends/tda10021.c.old 2006-08-13 17:57:25.000000000 +0200 +++ linux-2.6.18-rc4-mm1/drivers/media/dvb/frontends/tda10021.c 2006-08-13 17:57:44.000000000 +0200 @@ -201,7 +201,7 @@ return 0; } -int tda10021_write(struct dvb_frontend* fe, u8 *buf, int len) +static int tda10021_write(struct dvb_frontend* fe, u8 *buf, int len) { struct tda10021_state* state = fe->demodulator_priv; --- linux-2.6.18-rc4-mm1/drivers/media/dvb/frontends/tda1004x.c.old 2006-08-13 17:58:23.000000000 +0200 +++ linux-2.6.18-rc4-mm1/drivers/media/dvb/frontends/tda1004x.c 2006-08-13 17:58:51.000000000 +0200 @@ -579,7 +579,7 @@ return -1; } -int tda1004x_write(struct dvb_frontend* fe, u8 *buf, int len) +static int tda1004x_write(struct dvb_frontend* fe, u8 *buf, int len) { struct tda1004x_state* state = fe->demodulator_priv; --- linux-2.6.18-rc4-mm1/drivers/media/dvb/frontends/zl10353.c.old 2006-08-13 17:59:09.000000000 +0200 +++ linux-2.6.18-rc4-mm1/drivers/media/dvb/frontends/zl10353.c 2006-08-13 17:59:35.000000000 +0200 @@ -54,7 +54,7 @@ return 0; } -int zl10353_write(struct dvb_frontend *fe, u8 *ibuf, int ilen) +static int zl10353_write(struct dvb_frontend *fe, u8 *ibuf, int ilen) { int err, i; for (i = 0; i < ilen - 1; i++) - 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/