瀏覽代碼

drm/sti: fix typo issue in sti_mode_config_init

Assign width to width and height to height.

Signed-off-by: Vincent Abriou <vincent.abriou@st.com>
Vincent Abriou 10 年之前
父節點
當前提交
738be9d6ca
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/gpu/drm/sti/sti_drv.c

+ 2 - 2
drivers/gpu/drm/sti/sti_drv.c

@@ -123,8 +123,8 @@ static void sti_mode_config_init(struct drm_device *dev)
 	 * this value would be used to check framebuffer size limitation
 	 * at drm_mode_addfb().
 	 */
-	dev->mode_config.max_width = STI_MAX_FB_HEIGHT;
-	dev->mode_config.max_height = STI_MAX_FB_WIDTH;
+	dev->mode_config.max_width = STI_MAX_FB_WIDTH;
+	dev->mode_config.max_height = STI_MAX_FB_HEIGHT;
 
 	dev->mode_config.funcs = &sti_mode_config_funcs;
 }