]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Make drm_crtc_convert_{umode, to_umode} static and constify their params
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 13 Mar 2012 10:35:47 +0000 (12:35 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 15 Mar 2012 09:52:02 +0000 (09:52 +0000)
commit49647c0a45c51f4246ee8df5f9924ce10ec9cff3
tree2b6dbb0f3ab306dbf1284d9cd57b7839265c8726
parent0a68e9530681e4ba5b403505a6ab4ada67d5ed38
drm: Make drm_crtc_convert_{umode, to_umode} static and constify their params

drm_crtc_convert_umode() and drm_crtc_convert_to_umode() are never
used outside drm_crtc.c, so make them static. Also make the input
mode structure const for both functions.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c