Commit 6e36595a authored by Zhao Yakui's avatar Zhao Yakui Committed by Eric Anholt

drm/i915: Declare the new VBT parsing functions as static

Signed-off-by: default avatarZhao Yakui <yakui.zhao@intel.com>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent 652af9d7
...@@ -1237,7 +1237,7 @@ intel_dp_hot_plug(struct intel_output *intel_output) ...@@ -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 * If no child dev is parsed from VBT, it is assumed that the given
* DP is present. * 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 drm_i915_private *dev_priv = dev->dev_private;
struct child_device_config *p_child; struct child_device_config *p_child;
......
...@@ -233,7 +233,7 @@ static const struct drm_encoder_funcs intel_hdmi_enc_funcs = { ...@@ -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 * If no child dev is parsed from VBT, it assumes that the given
* HDMI is present. * 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 drm_i915_private *dev_priv = dev->dev_private;
struct child_device_config *p_child; struct child_device_config *p_child;
......
...@@ -977,7 +977,7 @@ static void intel_find_lvds_downclock(struct drm_device *dev, ...@@ -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. * Note: The addin_offset should also be checked for LVDS panel.
* Only when it is non-zero, it is assumed that it is present. * 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 drm_i915_private *dev_priv = dev->dev_private;
struct child_device_config *p_child; struct child_device_config *p_child;
......
...@@ -1706,7 +1706,7 @@ static const struct drm_encoder_funcs intel_tv_enc_funcs = { ...@@ -1706,7 +1706,7 @@ static const struct drm_encoder_funcs intel_tv_enc_funcs = {
* If it is not present, return false. * If it is not present, return false.
* If no child dev is parsed from VBT, it assumes that the TV is present. * 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 drm_i915_private *dev_priv = dev->dev_private;
struct child_device_config *p_child; struct child_device_config *p_child;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment