aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_sdvo.c
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-12-18 15:18:47 -0500
committerDave Airlie <airlied@linux.ie>2008-12-29 02:47:26 -0500
commitb358d0a6252d8ed16afb20caaec35b24c76074bb (patch)
tree7de8d283b0dfc20c3233489dfde88554f3051040 /drivers/gpu/drm/i915/intel_sdvo.c
parent95281e352e19b670458563a5ca746195c183a98f (diff)
drm/i915: fix sparse warnings: make symbols static
Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sdvo.c')
-rw-r--r--drivers/gpu/drm/i915/intel_sdvo.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c
index 626258d72c90..fbbaa4f414a0 100644
--- a/drivers/gpu/drm/i915/intel_sdvo.c
+++ b/drivers/gpu/drm/i915/intel_sdvo.c
@@ -59,7 +59,7 @@ struct intel_sdvo_priv {
59 * SDVOB and SDVOC to work around apparent hardware issues (according to 59 * SDVOB and SDVOC to work around apparent hardware issues (according to
60 * comments in the BIOS). 60 * comments in the BIOS).
61 */ 61 */
62void intel_sdvo_write_sdvox(struct intel_output *intel_output, u32 val) 62static void intel_sdvo_write_sdvox(struct intel_output *intel_output, u32 val)
63{ 63{
64 struct drm_device *dev = intel_output->base.dev; 64 struct drm_device *dev = intel_output->base.dev;
65 struct drm_i915_private *dev_priv = dev->dev_private; 65 struct drm_i915_private *dev_priv = dev->dev_private;
@@ -296,7 +296,7 @@ static u8 intel_sdvo_read_response(struct intel_output *intel_output,
296 return status; 296 return status;
297} 297}
298 298
299int intel_sdvo_get_pixel_multiplier(struct drm_display_mode *mode) 299static int intel_sdvo_get_pixel_multiplier(struct drm_display_mode *mode)
300{ 300{
301 if (mode->clock >= 100000) 301 if (mode->clock >= 100000)
302 return 1; 302 return 1;
@@ -311,7 +311,8 @@ int intel_sdvo_get_pixel_multiplier(struct drm_display_mode *mode)
311 * SDVO chips which defeats the purpose of doing a bus switch in the first 311 * SDVO chips which defeats the purpose of doing a bus switch in the first
312 * place. 312 * place.
313 */ 313 */
314void intel_sdvo_set_control_bus_switch(struct intel_output *intel_output, u8 target) 314static void intel_sdvo_set_control_bus_switch(struct intel_output *intel_output,
315 u8 target)
315{ 316{
316 intel_sdvo_write_cmd(intel_output, SDVO_CMD_SET_CONTROL_BUS_SWITCH, &target, 1); 317 intel_sdvo_write_cmd(intel_output, SDVO_CMD_SET_CONTROL_BUS_SWITCH, &target, 1);
317} 318}
@@ -967,7 +968,7 @@ static const struct drm_connector_helper_funcs intel_sdvo_connector_helper_funcs
967 .best_encoder = intel_best_encoder, 968 .best_encoder = intel_best_encoder,
968}; 969};
969 970
970void intel_sdvo_enc_destroy(struct drm_encoder *encoder) 971static void intel_sdvo_enc_destroy(struct drm_encoder *encoder)
971{ 972{
972 drm_encoder_cleanup(encoder); 973 drm_encoder_cleanup(encoder);
973} 974}