diff options
Diffstat (limited to 'drivers/video/bf54x-lq043fb.c')
-rw-r--r-- | drivers/video/bf54x-lq043fb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/bf54x-lq043fb.c b/drivers/video/bf54x-lq043fb.c index eefba3d0e4b9..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 | ||
@@ -652,7 +652,7 @@ static int __init bfin_bf54x_probe(struct platform_device *pdev) | |||
652 | goto out7; | 652 | goto out7; |
653 | } | 653 | } |
654 | 654 | ||
655 | if (request_irq(info->irq, (void *)bfin_bf54x_irq_error, IRQF_DISABLED, | 655 | if (request_irq(info->irq, bfin_bf54x_irq_error, IRQF_DISABLED, |
656 | "PPI ERROR", info) < 0) { | 656 | "PPI ERROR", info) < 0) { |
657 | printk(KERN_ERR DRIVER_NAME | 657 | printk(KERN_ERR DRIVER_NAME |
658 | ": unable to request PPI ERROR IRQ\n"); | 658 | ": unable to request PPI ERROR IRQ\n"); |