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