summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-mx6/board-mx6q_sabresd.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_sabresd.c b/arch/arm/mach-mx6/board-mx6q_sabresd.c
index da2208119467..3f81e1526aa5 100644
--- a/arch/arm/mach-mx6/board-mx6q_sabresd.c
+++ b/arch/arm/mach-mx6/board-mx6q_sabresd.c
@@ -1534,13 +1534,10 @@ static void __init mx6_sabresd_board_init(void)
imx6q_add_mxc_hdmi_core(&hdmi_core_data);
imx6q_add_ipuv3(0, &ipu_data[0]);
- if (cpu_is_mx6q()) {
+ if (cpu_is_mx6q())
imx6q_add_ipuv3(1, &ipu_data[1]);
- for (i = 0; i < ARRAY_SIZE(sabresd_fb_data); i++)
- imx6q_add_ipuv3fb(i, &sabresd_fb_data[i]);
- } else
- for (i = 0; i < (ARRAY_SIZE(sabresd_fb_data) + 1) / 2; i++)
- imx6q_add_ipuv3fb(i, &sabresd_fb_data[i]);
+ for (i = 0; i < ARRAY_SIZE(sabresd_fb_data); i++)
+ imx6q_add_ipuv3fb(i, &sabresd_fb_data[i]);
imx6q_add_vdoa();
imx6q_add_lcdif(&lcdif_data);