public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>, v4l-dvb-maintainer@linuxtv.org
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] drivers/media/dvb/frontends/: make 4 functions static
Date: Wed, 24 Jan 2007 23:36:31 +0100	[thread overview]
Message-ID: <20070124223631.GS17836@stusta.de> (raw)

This patch makes four needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 13 Aug 2006

 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++)


                 reply	other threads:[~2007-01-24 22:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070124223631.GS17836@stusta.de \
    --to=bunk@stusta.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=v4l-dvb-maintainer@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox