V4L/DVB (5195): Frontends: make 4 functions static
authorAdrian Bunk <bunk@stusta.de>
Wed, 7 Feb 2007 00:50:36 +0000 (21:50 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:35:16 +0000 (13:35 -0200)
This patch makes four needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/frontends/stv0299.c
drivers/media/dvb/frontends/tda10021.c
drivers/media/dvb/frontends/tda1004x.c
drivers/media/dvb/frontends/zl10353.c

index 93483769eca842bfabfcbd83c029fd7b1c3f4599..18768d2f6d40116ea827ad6bd1344a0dea5928a9 100644 (file)
@@ -92,7 +92,7 @@ static int stv0299_writeregI (struct stv0299_state* state, u8 reg, u8 data)
        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;
 
index dca89171be1fe232239cd5a143b8b4c855054fa6..5b9c5bb29b23392bde89d510aeac3759e338ed20 100644 (file)
@@ -201,7 +201,7 @@ static int tda10021_set_symbolrate (struct tda10021_state* state, u32 symbolrate
        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;
 
index 00e4bcd9f1a4304e5ec99dbaeab0899af9b8de6e..f4a9cf9d26d07d11d44ceee4cdb378ebfe909a21 100644 (file)
@@ -579,7 +579,7 @@ static int tda1004x_decode_fec(int tdafec)
        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;
 
index 0e9b59af271edcb96a3ffdd89f5efe92897d8b62..a1b0afbd47baaa2b17a52f8e9b07e1aba6853078 100644 (file)
@@ -54,7 +54,7 @@ static int zl10353_single_write(struct dvb_frontend *fe, u8 reg, u8 val)
        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++)