Skip to content
Commit e6087877 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Dave Airlie
Browse files

drm/sti: restore mode_fixup callback



Commit 8a2fa38f removed the mode_fixup because it was empty,
but 652353e6 modified it to call drm_mode_set_crtcinfo()
instead.

Both commits are correct, but the merge of the two kept the nonempty
version without the reference to it, as shown by the gcc warning:

 drm/sti/sti_crtc.c:54:13: error: 'sti_crtc_mode_fixup' defined but not used

This restores the callback pointer to fix the merge.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Reverts: 8a2fa38f ("drm/sti: removed optional dummy crtc mode_fixup function.")
Fixes: 652353e6 ("drm/sti: set CRTC modesetting parameters")
Fixes: cf481068 ("Merge branch '2016-02-26-st-drm-next' of http://git.linaro.org/people/benjamin.gaignard/kernel

 into drm-next")
Acked-by: default avatarVincent ABRIOU <vincent.abriou@st.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent cf481068
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment