]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit06289ce0fd01db688e2cfc70b1fba9b63f5ab6be
tree61b40825fc9a2eacd6e2fe94ff4b3c3cc509d077
parentbcd64bd0fe11f01a329c56f69bd14324be60485e
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