diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2009-01-06 17:42:30 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-06 18:59:26 -0500 |
commit | 729f77bbe515455ac474e6a4a3709858a01ef3da (patch) | |
tree | 02456b46be8b3ccc7c4041ff5a96f737aeae2b8c /drivers | |
parent | 3efbb987c1ffcb82ad1b76b67fa26ec7c0c1448a (diff) |
blackfin: remove __FUNCTION__ in video driver
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/bfin-t350mcqb-fb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/bfin-t350mcqb-fb.c b/drivers/video/bfin-t350mcqb-fb.c index 7d1b819e501c..a9b3ada05d99 100644 --- a/drivers/video/bfin-t350mcqb-fb.c +++ b/drivers/video/bfin-t350mcqb-fb.c | |||
@@ -255,7 +255,7 @@ static int bfin_t350mcqb_fb_check_var(struct fb_var_screeninfo *var, | |||
255 | { | 255 | { |
256 | 256 | ||
257 | if (var->bits_per_pixel != LCD_BPP) { | 257 | if (var->bits_per_pixel != LCD_BPP) { |
258 | pr_debug("%s: depth not supported: %u BPP\n", __FUNCTION__, | 258 | pr_debug("%s: depth not supported: %u BPP\n", __func__, |
259 | var->bits_per_pixel); | 259 | var->bits_per_pixel); |
260 | return -EINVAL; | 260 | return -EINVAL; |
261 | } | 261 | } |
@@ -264,7 +264,7 @@ static int bfin_t350mcqb_fb_check_var(struct fb_var_screeninfo *var, | |||
264 | info->var.xres_virtual != var->xres_virtual || | 264 | info->var.xres_virtual != var->xres_virtual || |
265 | info->var.yres_virtual != var->yres_virtual) { | 265 | info->var.yres_virtual != var->yres_virtual) { |
266 | pr_debug("%s: Resolution not supported: X%u x Y%u \n", | 266 | pr_debug("%s: Resolution not supported: X%u x Y%u \n", |
267 | __FUNCTION__, var->xres, var->yres); | 267 | __func__, var->xres, var->yres); |
268 | return -EINVAL; | 268 | return -EINVAL; |
269 | } | 269 | } |
270 | 270 | ||
@@ -274,7 +274,7 @@ static int bfin_t350mcqb_fb_check_var(struct fb_var_screeninfo *var, | |||
274 | 274 | ||
275 | if ((info->fix.line_length * var->yres_virtual) > info->fix.smem_len) { | 275 | if ((info->fix.line_length * var->yres_virtual) > info->fix.smem_len) { |
276 | pr_debug("%s: Memory Limit requested yres_virtual = %u\n", | 276 | pr_debug("%s: Memory Limit requested yres_virtual = %u\n", |
277 | __FUNCTION__, var->yres_virtual); | 277 | __func__, var->yres_virtual); |
278 | return -ENOMEM; | 278 | return -ENOMEM; |
279 | } | 279 | } |
280 | 280 | ||