drm/atomic: Constify mode argument to mode_valid_path()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 5 Jun 2018 00:36:13 +0000 (03:36 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 18 Mar 2019 09:42:11 +0000 (11:42 +0200)
commit8518f05a7110c9f4d70835385fd2474ff479113a
tree84290dfbd9fe86c4e7fb0eaa0d8b89890d8bf533
parent9e98c678c2d6ae3a17cb2de55d17f69dddaa231b
drm/atomic: Constify mode argument to mode_valid_path()

The mode_valid_path() function validates the mode it receives without
ever modifying it. Constify the mode pointer argument to make that
explicit.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/drm_atomic_helper.c