diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-08 22:20:00 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:59 -0400 |
commit | 7e28adb2497f6b873516163e2d29210c11777613 (patch) | |
tree | 2f65ee1bcadb2915f196a277dbac83af99685481 /drivers/media/video/videobuf-dma-sg.c | |
parent | e9815ceea9733dfb236629f5b72f2e6486f66242 (diff) |
V4L/DVB (7518): media/video/ 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/videobuf-dma-sg.c')
-rw-r--r-- | drivers/media/video/videobuf-dma-sg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/videobuf-dma-sg.c b/drivers/media/video/videobuf-dma-sg.c index e6ce99ff7fd1..440c1a8e9c1f 100644 --- a/drivers/media/video/videobuf-dma-sg.c +++ b/drivers/media/video/videobuf-dma-sg.c | |||
@@ -252,7 +252,7 @@ int videobuf_dma_map(struct videobuf_queue* q, struct videobuf_dmabuf *dma) | |||
252 | dma->nr_pages, dma->direction); | 252 | dma->nr_pages, dma->direction); |
253 | if (0 == dma->sglen) { | 253 | if (0 == dma->sglen) { |
254 | printk(KERN_WARNING | 254 | printk(KERN_WARNING |
255 | "%s: videobuf_map_sg failed\n",__FUNCTION__); | 255 | "%s: videobuf_map_sg failed\n",__func__); |
256 | kfree(dma->sglist); | 256 | kfree(dma->sglist); |
257 | dma->sglist = NULL; | 257 | dma->sglist = NULL; |
258 | dma->sglen = 0; | 258 | dma->sglen = 0; |
@@ -430,7 +430,7 @@ static void *__videobuf_alloc(size_t size) | |||
430 | videobuf_dma_init(&mem->dma); | 430 | videobuf_dma_init(&mem->dma); |
431 | 431 | ||
432 | dprintk(1,"%s: allocated at %p(%ld+%ld) & %p(%ld)\n", | 432 | dprintk(1,"%s: allocated at %p(%ld+%ld) & %p(%ld)\n", |
433 | __FUNCTION__,vb,(long)sizeof(*vb),(long)size-sizeof(*vb), | 433 | __func__,vb,(long)sizeof(*vb),(long)size-sizeof(*vb), |
434 | mem,(long)sizeof(*mem)); | 434 | mem,(long)sizeof(*mem)); |
435 | 435 | ||
436 | return vb; | 436 | return vb; |