aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Abriou <vincent.abriou@st.com>2015-10-29 09:20:27 -0400
committerVincent Abriou <vincent.abriou@st.com>2015-11-03 07:04:55 -0500
commit738be9d6ca3adccdd92798fd25f94fef0b27e073 (patch)
tree365746ce872145024c2b9bfce21ec31443649125
parent5260fb5b33ffad7b3c1cd84dc260f4d51ef453c0 (diff)
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>
-rw-r--r--drivers/gpu/drm/sti/sti_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/sti/sti_drv.c b/drivers/gpu/drm/sti/sti_drv.c
index 45c637534d96..1469987949d8 100644
--- a/drivers/gpu/drm/sti/sti_drv.c
+++ b/drivers/gpu/drm/sti/sti_drv.c
@@ -123,8 +123,8 @@ static void sti_mode_config_init(struct drm_device *dev)
123 * this value would be used to check framebuffer size limitation 123 * this value would be used to check framebuffer size limitation
124 * at drm_mode_addfb(). 124 * at drm_mode_addfb().
125 */ 125 */
126 dev->mode_config.max_width = STI_MAX_FB_HEIGHT; 126 dev->mode_config.max_width = STI_MAX_FB_WIDTH;
127 dev->mode_config.max_height = STI_MAX_FB_WIDTH; 127 dev->mode_config.max_height = STI_MAX_FB_HEIGHT;
128 128
129 dev->mode_config.funcs = &sti_mode_config_funcs; 129 dev->mode_config.funcs = &sti_mode_config_funcs;
130} 130}