diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-28 05:15:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 11:58:42 -0400 |
commit | 5ae121705bed9ea7425daef4d7d29038f7312f3f (patch) | |
tree | fa1527459b056ad59acfbf1fa59c5a8880f6ac22 /drivers/video/bf54x-lq043fb.c | |
parent | e7a05aa9e697ff6fc165d45671cdcca601942f62 (diff) |
video: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: Antonino Daplas <adaplas@gmail.com>
Cc: Antonino A. Daplas <adaplas@gmail.com>
Cc: Antonino Daplas <adaplas@pol.net>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Adrian Bunk <bunk@stusta.de>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/bf54x-lq043fb.c')
-rw-r--r-- | drivers/video/bf54x-lq043fb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/bf54x-lq043fb.c b/drivers/video/bf54x-lq043fb.c index 850212de7b53..49834a67a623 100644 --- a/drivers/video/bf54x-lq043fb.c +++ b/drivers/video/bf54x-lq043fb.c | |||
@@ -336,7 +336,7 @@ static int bfin_bf54x_fb_check_var(struct fb_var_screeninfo *var, | |||
336 | { | 336 | { |
337 | 337 | ||
338 | if (var->bits_per_pixel != LCD_BPP) { | 338 | if (var->bits_per_pixel != LCD_BPP) { |
339 | pr_debug("%s: depth not supported: %u BPP\n", __FUNCTION__, | 339 | pr_debug("%s: depth not supported: %u BPP\n", __func__, |
340 | var->bits_per_pixel); | 340 | var->bits_per_pixel); |
341 | return -EINVAL; | 341 | return -EINVAL; |
342 | } | 342 | } |
@@ -345,7 +345,7 @@ static int bfin_bf54x_fb_check_var(struct fb_var_screeninfo *var, | |||
345 | info->var.xres_virtual != var->xres_virtual || | 345 | info->var.xres_virtual != var->xres_virtual || |
346 | info->var.yres_virtual != var->yres_virtual) { | 346 | info->var.yres_virtual != var->yres_virtual) { |
347 | pr_debug("%s: Resolution not supported: X%u x Y%u \n", | 347 | pr_debug("%s: Resolution not supported: X%u x Y%u \n", |
348 | __FUNCTION__, var->xres, var->yres); | 348 | __func__, var->xres, var->yres); |
349 | return -EINVAL; | 349 | return -EINVAL; |
350 | } | 350 | } |
351 | 351 | ||
@@ -355,7 +355,7 @@ static int bfin_bf54x_fb_check_var(struct fb_var_screeninfo *var, | |||
355 | 355 | ||
356 | if ((info->fix.line_length * var->yres_virtual) > info->fix.smem_len) { | 356 | if ((info->fix.line_length * var->yres_virtual) > info->fix.smem_len) { |
357 | pr_debug("%s: Memory Limit requested yres_virtual = %u\n", | 357 | pr_debug("%s: Memory Limit requested yres_virtual = %u\n", |
358 | __FUNCTION__, var->yres_virtual); | 358 | __func__, var->yres_virtual); |
359 | return -ENOMEM; | 359 | return -ENOMEM; |
360 | } | 360 | } |
361 | 361 | ||