aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885/cx23885-dvb.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:59 -0400
commit22b4e64f0a119e94090ef45285a5c311f1f6855f (patch)
tree60ab79ee2f2e5c8bcab8f8dc0a91e2ff105f5464 /drivers/media/video/cx23885/cx23885-dvb.c
parent94205c7a48b637ae60bd69ac4cc16743a6dddd09 (diff)
V4L/DVB (7520): media/video/cx23885 replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-dvb.c')
-rw-r--r--drivers/media/video/cx23885/cx23885-dvb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c
index 7bcd37aa8c90..74baa28d16ab 100644
--- a/drivers/media/video/cx23885/cx23885-dvb.c
+++ b/drivers/media/video/cx23885/cx23885-dvb.c
@@ -185,7 +185,7 @@ static int cx23885_hvr1500_xc3028_callback(void *ptr, int command, int arg)
185 case XC2028_TUNER_RESET: 185 case XC2028_TUNER_RESET:
186 /* Send the tuner in then out of reset */ 186 /* Send the tuner in then out of reset */
187 /* GPIO-2 xc3028 tuner */ 187 /* GPIO-2 xc3028 tuner */
188 dprintk(1, "%s: XC2028_TUNER_RESET %d\n", __FUNCTION__, arg); 188 dprintk(1, "%s: XC2028_TUNER_RESET %d\n", __func__, arg);
189 189
190 cx_set(GP0_IO, 0x00040000); 190 cx_set(GP0_IO, 0x00040000);
191 cx_clear(GP0_IO, 0x00000004); 191 cx_clear(GP0_IO, 0x00000004);
@@ -195,10 +195,10 @@ static int cx23885_hvr1500_xc3028_callback(void *ptr, int command, int arg)
195 msleep(5); 195 msleep(5);
196 break; 196 break;
197 case XC2028_RESET_CLK: 197 case XC2028_RESET_CLK:
198 dprintk(1, "%s: XC2028_RESET_CLK %d\n", __FUNCTION__, arg); 198 dprintk(1, "%s: XC2028_RESET_CLK %d\n", __func__, arg);
199 break; 199 break;
200 default: 200 default:
201 dprintk(1, "%s: unknown command %d, arg %d\n", __FUNCTION__, 201 dprintk(1, "%s: unknown command %d, arg %d\n", __func__,
202 command, arg); 202 command, arg);
203 return -EINVAL; 203 return -EINVAL;
204 } 204 }
@@ -341,7 +341,7 @@ int cx23885_dvb_register(struct cx23885_tsport *port)
341 struct cx23885_dev *dev = port->dev; 341 struct cx23885_dev *dev = port->dev;
342 int err; 342 int err;
343 343
344 dprintk(1, "%s\n", __FUNCTION__); 344 dprintk(1, "%s\n", __func__);
345 dprintk(1, " ->being probed by Card=%d Name=%s, PCI %02x:%02x\n", 345 dprintk(1, " ->being probed by Card=%d Name=%s, PCI %02x:%02x\n",
346 dev->board, 346 dev->board,
347 dev->name, 347 dev->name,
@@ -357,7 +357,7 @@ int cx23885_dvb_register(struct cx23885_tsport *port)
357 sizeof(struct cx23885_buffer), port); 357 sizeof(struct cx23885_buffer), port);
358 err = dvb_register(port); 358 err = dvb_register(port);
359 if (err != 0) 359 if (err != 0)
360 printk("%s() dvb_register failed err = %d\n", __FUNCTION__, err); 360 printk("%s() dvb_register failed err = %d\n", __func__, err);
361 361
362 return err; 362 return err;
363} 363}