drm/atomic: Consitfy mode parameter to drm_atomic_set_mode_for_crtc()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 18 May 2017 19:38:36 +0000 (22:38 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 31 May 2017 13:08:10 +0000 (16:08 +0300)
commit91110a4b64fe0bdbac084b79dbd5f10c458327e9
treea74034a0915ad2a64c7331319c5eaf0b6de8315e
parentfb51cbfd4b2ee030b9021b91bca96fcf2cbba875
drm/atomic: Consitfy mode parameter to drm_atomic_set_mode_for_crtc()

drm_atomic_set_mode_for_crtc() doesn't modify the passed mode, so let's
make it const.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170518193837.393-1-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_atomic.c
include/drm/drm_atomic.h