aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/mt352.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-04-08 22:20:00 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:07:58 -0400
commit271ddbf702c3a4e6b18f6464180eda0f62efd9a5 (patch)
tree37a384a4ce6216c694ee0d86ffc89d4aa56944e1 /drivers/media/dvb/frontends/mt352.c
parent708bebdd3922c6f346b8540f93c73f006d2b947b (diff)
V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/mt352.c')
-rw-r--r--drivers/media/dvb/frontends/mt352.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/mt352.c b/drivers/media/dvb/frontends/mt352.c
index 7cd190b6f015..beba5aa0db50 100644
--- a/drivers/media/dvb/frontends/mt352.c
+++ b/drivers/media/dvb/frontends/mt352.c
@@ -95,7 +95,7 @@ static int mt352_read_register(struct mt352_state* state, u8 reg)
95 95
96 if (ret != 2) { 96 if (ret != 2) {
97 printk("%s: readreg error (reg=%d, ret==%i)\n", 97 printk("%s: readreg error (reg=%d, ret==%i)\n",
98 __FUNCTION__, reg, ret); 98 __func__, reg, ret);
99 return ret; 99 return ret;
100 } 100 }
101 101
@@ -135,7 +135,7 @@ static void mt352_calc_nominal_rate(struct mt352_state* state,
135 value = 64 * bw * (1<<16) / (7 * 8); 135 value = 64 * bw * (1<<16) / (7 * 8);
136 value = value * 1000 / adc_clock; 136 value = value * 1000 / adc_clock;
137 dprintk("%s: bw %d, adc_clock %d => 0x%x\n", 137 dprintk("%s: bw %d, adc_clock %d => 0x%x\n",
138 __FUNCTION__, bw, adc_clock, value); 138 __func__, bw, adc_clock, value);
139 buf[0] = msb(value); 139 buf[0] = msb(value);
140 buf[1] = lsb(value); 140 buf[1] = lsb(value);
141} 141}
@@ -161,7 +161,7 @@ static void mt352_calc_input_freq(struct mt352_state* state,
161 } 161 }
162 value = -16374 * ife / adc_clock; 162 value = -16374 * ife / adc_clock;
163 dprintk("%s: if2 %d, ife %d, adc_clock %d => %d / 0x%x\n", 163 dprintk("%s: if2 %d, ife %d, adc_clock %d => %d / 0x%x\n",
164 __FUNCTION__, if2, ife, adc_clock, value, value & 0x3fff); 164 __func__, if2, ife, adc_clock, value, value & 0x3fff);
165 buf[0] = msb(value); 165 buf[0] = msb(value);
166 buf[1] = lsb(value); 166 buf[1] = lsb(value);
167} 167}
@@ -521,7 +521,7 @@ static int mt352_init(struct dvb_frontend* fe)
521 521
522 static u8 mt352_reset_attach [] = { RESET, 0xC0 }; 522 static u8 mt352_reset_attach [] = { RESET, 0xC0 };
523 523
524 dprintk("%s: hello\n",__FUNCTION__); 524 dprintk("%s: hello\n",__func__);
525 525
526 if ((mt352_read_register(state, CLOCK_CTL) & 0x10) == 0 || 526 if ((mt352_read_register(state, CLOCK_CTL) & 0x10) == 0 ||
527 (mt352_read_register(state, CONFIG) & 0x20) == 0) { 527 (mt352_read_register(state, CONFIG) & 0x20) == 0) {