mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
drm/sti: restore mode_fixup callback
Commit8a2fa38fddremoved the mode_fixup because it was empty, but652353e6e5modified 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: Arnd Bergmann <[email protected]> Reverts:8a2fa38fdd("drm/sti: removed optional dummy crtc mode_fixup function.") Fixes:652353e6e5("drm/sti: set CRTC modesetting parameters") Fixes:cf481068cd("Merge branch '2016-02-26-st-drm-next' of http://git.linaro.org/people/benjamin.gaignard/kernel into drm-next") Acked-by: Vincent ABRIOU <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
This commit is contained in:
parent
cf481068cd
commit
e608787779
1 changed files with 1 additions and 0 deletions
|
|
@ -230,6 +230,7 @@ static void sti_crtc_atomic_flush(struct drm_crtc *crtc,
|
|||
static const struct drm_crtc_helper_funcs sti_crtc_helper_funcs = {
|
||||
.enable = sti_crtc_enable,
|
||||
.disable = sti_crtc_disabling,
|
||||
.mode_fixup = sti_crtc_mode_fixup,
|
||||
.mode_set = drm_helper_crtc_mode_set,
|
||||
.mode_set_nofb = sti_crtc_mode_set_nofb,
|
||||
.mode_set_base = drm_helper_crtc_mode_set_base,
|
||||
|
|
|
|||
Loading…
Reference in a new issue