aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/omapfb/omapfb-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/omap2/omapfb/omapfb-main.c')
-rw-r--r--drivers/video/omap2/omapfb/omapfb-main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/omap2/omapfb/omapfb-main.c b/drivers/video/omap2/omapfb/omapfb-main.c
index 708f2cf90204..c2dbfb832a07 100644
--- a/drivers/video/omap2/omapfb/omapfb-main.c
+++ b/drivers/video/omap2/omapfb/omapfb-main.c
@@ -1391,9 +1391,6 @@ static int omapfb_alloc_fbmem(struct fb_info *fbi, unsigned long size,
1391 1391
1392 size = PAGE_ALIGN(size); 1392 size = PAGE_ALIGN(size);
1393 1393
1394 WARN_ONCE(paddr,
1395 "reserving memory at predefined address not supported\n");
1396
1397 dma_set_attr(DMA_ATTR_WRITE_COMBINE, &attrs); 1394 dma_set_attr(DMA_ATTR_WRITE_COMBINE, &attrs);
1398 1395
1399 if (ofbi->rotation_type == OMAP_DSS_ROT_VRFB) 1396 if (ofbi->rotation_type == OMAP_DSS_ROT_VRFB)
@@ -1521,6 +1518,9 @@ static int omapfb_parse_vram_param(const char *param, int max_entries,
1521 1518
1522 } 1519 }
1523 1520
1521 WARN_ONCE(paddr,
1522 "reserving memory at predefined address not supported\n");
1523
1524 paddrs[fbnum] = paddr; 1524 paddrs[fbnum] = paddr;
1525 sizes[fbnum] = size; 1525 sizes[fbnum] = size;
1526 1526