Skip to content

Commit

Permalink
V4L/DVB (7525): media/video/pwc replace remaining __FUNCTION__ occurr…
Browse files Browse the repository at this point in the history
…ences

__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>
  • Loading branch information
Harvey Harrison authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent 12aa67a commit 645635b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/media/video/pwc/pwc-if.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ static void pwc_reset_buffers(struct pwc_device *pdev)
int i;
unsigned long flags;

PWC_DEBUG_MEMORY(">> %s __enter__\n", __FUNCTION__);
PWC_DEBUG_MEMORY(">> %s __enter__\n", __func__);

spin_lock_irqsave(&pdev->ptrlock, flags);
pdev->full_frames = NULL;
Expand All @@ -511,7 +511,7 @@ static void pwc_reset_buffers(struct pwc_device *pdev)
pdev->fill_image = 0;
spin_unlock_irqrestore(&pdev->ptrlock, flags);

PWC_DEBUG_MEMORY("<< %s __leaving__\n", __FUNCTION__);
PWC_DEBUG_MEMORY("<< %s __leaving__\n", __func__);
}


Expand Down Expand Up @@ -1428,7 +1428,7 @@ static int pwc_video_mmap(struct file *file, struct vm_area_struct *vma)
unsigned long page, pos = 0;
int index;

PWC_DEBUG_MEMORY(">> %s\n", __FUNCTION__);
PWC_DEBUG_MEMORY(">> %s\n", __func__);
pdev = vdev->priv;
size = vma->vm_end - vma->vm_start;
start = vma->vm_start;
Expand Down

0 comments on commit 645635b

Please sign in to comment.