--- 549931d8f320ae7fc8ff9ebe296e9c25901706a7 +++ aecfa65a2bf90eacf65514b22c41ea556f6ee08b @@ -137,7 +137,7 @@ struct dentry *msm_fb_debugfs_file[MSM_F static int bl_scale, bl_min_lvl; DEFINE_MUTEX(msm_fb_notify_update_sem); -static DEFINE_MUTEX(power_state_chagne); +DEFINE_MUTEX(power_state_chagne); void msmfb_no_update_notify_timer_cb(unsigned long data) { @@ -1380,7 +1380,9 @@ static int msm_fb_register(struct msm_fb var->xres = panel_info->xres; var->yres = panel_info->yres; -#ifdef CONFIG_FB_MSM_MIPI_SAMSUNG_OCTA_VIDEO_FULL_HD_PT + +#if defined (CONFIG_FB_MSM_MIPI_SAMSUNG_OCTA_VIDEO_FULL_HD_PT) \ + || defined (CONFIG_FB_MSM_MIPI_RENESAS_TFT_VIDEO_FULL_HD_PT_PANEL) var->height = panel_info->height; /* height of picture in mm*/ var->width = panel_info->width; /* width of picture in mm*/ #else