Commit 738be9d6 authored by Vincent Abriou's avatar Vincent Abriou

drm/sti: fix typo issue in sti_mode_config_init

Assign width to width and height to height.
Signed-off-by: default avatarVincent Abriou <vincent.abriou@st.com>
parent 5260fb5b
...@@ -123,8 +123,8 @@ static void sti_mode_config_init(struct drm_device *dev) ...@@ -123,8 +123,8 @@ static void sti_mode_config_init(struct drm_device *dev)
* this value would be used to check framebuffer size limitation * this value would be used to check framebuffer size limitation
* at drm_mode_addfb(). * at drm_mode_addfb().
*/ */
dev->mode_config.max_width = STI_MAX_FB_HEIGHT; dev->mode_config.max_width = STI_MAX_FB_WIDTH;
dev->mode_config.max_height = STI_MAX_FB_WIDTH; dev->mode_config.max_height = STI_MAX_FB_HEIGHT;
dev->mode_config.funcs = &sti_mode_config_funcs; dev->mode_config.funcs = &sti_mode_config_funcs;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment