drm: Make some modes const when iterating through them
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 7 Sep 2015 15:22:56 +0000 (18:22 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 9 Sep 2015 12:53:39 +0000 (14:53 +0200)
commit85f8fcd619d161d65c53b067e2d99590c0d7bbad
treeb1b188aa2c982ffc8376596dd684ad680b694533
parent68ec2a2a24815c0ee359b1327b60a276cd2280d8
drm: Make some modes const when iterating through them

valid_inferred_mode() don't change the modes over which it iterates,
so make the iterator const.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_edid.c