diff options
Diffstat (limited to 'drivers/media/dvb/frontends/ves1x93.c')
-rw-r--r-- | drivers/media/dvb/frontends/ves1x93.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/ves1x93.c b/drivers/media/dvb/frontends/ves1x93.c index 23fd0303c91b..bd558960bd87 100644 --- a/drivers/media/dvb/frontends/ves1x93.c +++ b/drivers/media/dvb/frontends/ves1x93.c | |||
@@ -48,7 +48,7 @@ struct ves1x93_state { | |||
48 | u8 demod_type; | 48 | u8 demod_type; |
49 | }; | 49 | }; |
50 | 50 | ||
51 | static int debug = 0; | 51 | static int debug; |
52 | #define dprintk if (debug) printk | 52 | #define dprintk if (debug) printk |
53 | 53 | ||
54 | #define DEMOD_VES1893 0 | 54 | #define DEMOD_VES1893 0 |
@@ -98,7 +98,7 @@ static int ves1x93_writereg (struct ves1x93_state* state, u8 reg, u8 data) | |||
98 | int err; | 98 | int err; |
99 | 99 | ||
100 | if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { | 100 | if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { |
101 | dprintk ("%s: writereg error (err == %i, reg == 0x%02x, data == 0x%02x)\n", __FUNCTION__, err, reg, data); | 101 | dprintk ("%s: writereg error (err == %i, reg == 0x%02x, data == 0x%02x)\n", __func__, err, reg, data); |
102 | return -EREMOTEIO; | 102 | return -EREMOTEIO; |
103 | } | 103 | } |
104 | 104 | ||
@@ -179,7 +179,7 @@ static int ves1x93_set_symbolrate (struct ves1x93_state* state, u32 srate) | |||
179 | u32 tmp; | 179 | u32 tmp; |
180 | u32 FIN; | 180 | u32 FIN; |
181 | 181 | ||
182 | dprintk("%s: srate == %d\n", __FUNCTION__, (unsigned int) srate); | 182 | dprintk("%s: srate == %d\n", __func__, (unsigned int) srate); |
183 | 183 | ||
184 | if (srate > state->config->xin/2) | 184 | if (srate > state->config->xin/2) |
185 | srate = state->config->xin/2; | 185 | srate = state->config->xin/2; |
@@ -266,7 +266,7 @@ static int ves1x93_init (struct dvb_frontend* fe) | |||
266 | int i; | 266 | int i; |
267 | int val; | 267 | int val; |
268 | 268 | ||
269 | dprintk("%s: init chip\n", __FUNCTION__); | 269 | dprintk("%s: init chip\n", __func__); |
270 | 270 | ||
271 | for (i = 0; i < state->tab_size; i++) { | 271 | for (i = 0; i < state->tab_size; i++) { |
272 | if (state->init_1x93_wtab[i]) { | 272 | if (state->init_1x93_wtab[i]) { |