drm: Constify the pretty-print functions
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 7 Jun 2013 15:43:07 +0000 (15:43 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 10 Jun 2013 22:13:56 +0000 (08:13 +1000)
commitd20d3174806ef6589cb912a488657d21fcd7ece2
tree61b40825fc9a2eacd6e2fe94ff4b3c3cc509d077
parent4ee62c7669be1a6f1dd407e5ba7e38c0e2204e92
drm: Constify the pretty-print functions

The structures and strings involved with various pretty-print functions
aren't meant to be modified, so make them all const. The exception is
drm_connector_enum_list which does get modified in drm_connector_init().

While at it move the drm_get_connector_status_name() prototype from
drmP.h to drm_crtc.h where it belongs.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
include/drm/drmP.h
include/drm/drm_crtc.h