diff options
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 | ||