aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-integrator/integrator_cp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-integrator/integrator_cp.c b/arch/arm/mach-integrator/integrator_cp.c
index 1df6e7602cad..4fc0a195de01 100644
--- a/arch/arm/mach-integrator/integrator_cp.c
+++ b/arch/arm/mach-integrator/integrator_cp.c
@@ -198,7 +198,8 @@ static struct mmci_platform_data mmc_data = {
198static void cp_clcd_enable(struct clcd_fb *fb) 198static void cp_clcd_enable(struct clcd_fb *fb)
199{ 199{
200 struct fb_var_screeninfo *var = &fb->fb.var; 200 struct fb_var_screeninfo *var = &fb->fb.var;
201 u32 val = CM_CTRL_STATIC1 | CM_CTRL_STATIC2; 201 u32 val = CM_CTRL_STATIC1 | CM_CTRL_STATIC2
202 | CM_CTRL_LCDEN0 | CM_CTRL_LCDEN1;
202 203
203 if (var->bits_per_pixel <= 8 || 204 if (var->bits_per_pixel <= 8 ||
204 (var->bits_per_pixel == 16 && var->green.length == 5)) 205 (var->bits_per_pixel == 16 && var->green.length == 5))