summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap/omapfb_main.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-01-24 11:00:54 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-02-23 09:39:35 +0200
commitae7e1f2d0b9cf37d4ca4d55b264110e4c880f7ed (patch)
tree648e81d8e824313c628d4d66d7960462acd9e834 /drivers/video/omap/omapfb_main.c
parent5f1cc13fbf4cd0f798a08af2e0c04ae80ceac5e3 (diff)
downloadop-kernel-dev-ae7e1f2d0b9cf37d4ca4d55b264110e4c880f7ed.zip
op-kernel-dev-ae7e1f2d0b9cf37d4ca4d55b264110e4c880f7ed.tar.gz
OMAPFB: remove remaining OMAP arch checks
Now that the old omapfb driver is only omap1 display driver, there's no need to check if the arch is omap1. This patch removes the few remaining checks for the arch. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/video/omap/omapfb_main.c')
-rw-r--r--drivers/video/omap/omapfb_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/omap/omapfb_main.c b/drivers/video/omap/omapfb_main.c
index 3d2e147..f54b463 100644
--- a/drivers/video/omap/omapfb_main.c
+++ b/drivers/video/omap/omapfb_main.c
@@ -1741,8 +1741,7 @@ static int omapfb_do_probe(struct platform_device *pdev,
#ifdef CONFIG_FB_OMAP_DMA_TUNE
/* Set DMA priority for EMIFF access to highest */
- if (cpu_class_is_omap1())
- omap_set_dma_priority(0, OMAP_DMA_PORT_EMIFF, 15);
+ omap_set_dma_priority(0, OMAP_DMA_PORT_EMIFF, 15);
#endif
r = ctrl_change_mode(fbdev->fb_info[0]);
OpenPOWER on IntegriCloud