drm/i915: Declare the new VBT parsing functions as static
authorZhao Yakui <yakui.zhao@intel.com>
Wed, 2 Dec 2009 02:03:34 +0000 (10:03 +0800)
committerEric Anholt <eric@anholt.net>
Wed, 2 Dec 2009 07:27:20 +0000 (23:27 -0800)
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_hdmi.c
drivers/gpu/drm/i915/intel_lvds.c
drivers/gpu/drm/i915/intel_tv.c

index 3b584d3dd84b2f49f1932895de92319a6129a1b2..24d3bdeb98425bc6010aa1889354892aac229284 100644 (file)
@@ -1237,7 +1237,7 @@ intel_dp_hot_plug(struct intel_output *intel_output)
  * If no child dev is parsed from VBT, it is assumed that the given
  * DP is present.
  */
-int dp_is_present_in_vbt(struct drm_device *dev, int dp_reg)
+static int dp_is_present_in_vbt(struct drm_device *dev, int dp_reg)
 {
        struct drm_i915_private *dev_priv = dev->dev_private;
        struct child_device_config *p_child;
index 2ff5d03b44efb48e05518bb7e65a7daa84c8f917..7c5c6af23eaf5c39b2ebd8d5e866dd7e2e8b88c7 100644 (file)
@@ -233,7 +233,7 @@ static const struct drm_encoder_funcs intel_hdmi_enc_funcs = {
  * If no child dev is parsed from VBT, it assumes that the given
  * HDMI is present.
  */
-int hdmi_is_present_in_vbt(struct drm_device *dev, int hdmi_reg)
+static int hdmi_is_present_in_vbt(struct drm_device *dev, int hdmi_reg)
 {
        struct drm_i915_private *dev_priv = dev->dev_private;
        struct child_device_config *p_child;
index 02b813efd4c7cd60f2b230922a371ff85251742d..70763cc353eb1e968275e67597f95694884684de 100644 (file)
@@ -977,7 +977,7 @@ static void intel_find_lvds_downclock(struct drm_device *dev,
  * Note: The addin_offset should also be checked for LVDS panel.
  * Only when it is non-zero, it is assumed that it is present.
  */
-int lvds_is_present_in_vbt(struct drm_device *dev)
+static int lvds_is_present_in_vbt(struct drm_device *dev)
 {
        struct drm_i915_private *dev_priv = dev->dev_private;
        struct child_device_config *p_child;
index 9325dff21c06683185ed5ceab958631dcebd6d50..552ec110b74197c2394058ef4c89b144bc3e3137 100644 (file)
@@ -1706,7 +1706,7 @@ static const struct drm_encoder_funcs intel_tv_enc_funcs = {
  * If it is not present, return false.
  * If no child dev is parsed from VBT, it assumes that the TV is present.
  */
-int tv_is_present_in_vbt(struct drm_device *dev)
+static int tv_is_present_in_vbt(struct drm_device *dev)
 {
        struct drm_i915_private *dev_priv = dev->dev_private;
        struct child_device_config *p_child;