aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2009-12-01 21:03:34 -0500
committerEric Anholt <eric@anholt.net>2009-12-02 02:27:20 -0500
commit6e36595a2131e7ed5ee2674be54b2713ba7f0490 (patch)
tree7af106a7e0d187ee33b51e5923877fdcbc908371 /drivers/gpu
parent652af9d74e1a3a10bb10f0d8e8f42ddac26bbc1a (diff)
drm/i915: Declare the new VBT parsing functions as static
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/intel_dp.c2
-rw-r--r--drivers/gpu/drm/i915/intel_hdmi.c2
-rw-r--r--drivers/gpu/drm/i915/intel_lvds.c2
-rw-r--r--drivers/gpu/drm/i915/intel_tv.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 3b584d3dd84b..24d3bdeb9842 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -1237,7 +1237,7 @@ intel_dp_hot_plug(struct intel_output *intel_output)
1237 * If no child dev is parsed from VBT, it is assumed that the given 1237 * If no child dev is parsed from VBT, it is assumed that the given
1238 * DP is present. 1238 * DP is present.
1239 */ 1239 */
1240int dp_is_present_in_vbt(struct drm_device *dev, int dp_reg) 1240static int dp_is_present_in_vbt(struct drm_device *dev, int dp_reg)
1241{ 1241{
1242 struct drm_i915_private *dev_priv = dev->dev_private; 1242 struct drm_i915_private *dev_priv = dev->dev_private;
1243 struct child_device_config *p_child; 1243 struct child_device_config *p_child;
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c
index 2ff5d03b44ef..7c5c6af23eaf 100644
--- a/drivers/gpu/drm/i915/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/intel_hdmi.c
@@ -233,7 +233,7 @@ static const struct drm_encoder_funcs intel_hdmi_enc_funcs = {
233 * If no child dev is parsed from VBT, it assumes that the given 233 * If no child dev is parsed from VBT, it assumes that the given
234 * HDMI is present. 234 * HDMI is present.
235 */ 235 */
236int hdmi_is_present_in_vbt(struct drm_device *dev, int hdmi_reg) 236static int hdmi_is_present_in_vbt(struct drm_device *dev, int hdmi_reg)
237{ 237{
238 struct drm_i915_private *dev_priv = dev->dev_private; 238 struct drm_i915_private *dev_priv = dev->dev_private;
239 struct child_device_config *p_child; 239 struct child_device_config *p_child;
diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c
index 02b813efd4c7..70763cc353eb 100644
--- a/drivers/gpu/drm/i915/intel_lvds.c
+++ b/drivers/gpu/drm/i915/intel_lvds.c
@@ -977,7 +977,7 @@ static void intel_find_lvds_downclock(struct drm_device *dev,
977 * Note: The addin_offset should also be checked for LVDS panel. 977 * Note: The addin_offset should also be checked for LVDS panel.
978 * Only when it is non-zero, it is assumed that it is present. 978 * Only when it is non-zero, it is assumed that it is present.
979 */ 979 */
980int lvds_is_present_in_vbt(struct drm_device *dev) 980static int lvds_is_present_in_vbt(struct drm_device *dev)
981{ 981{
982 struct drm_i915_private *dev_priv = dev->dev_private; 982 struct drm_i915_private *dev_priv = dev->dev_private;
983 struct child_device_config *p_child; 983 struct child_device_config *p_child;
diff --git a/drivers/gpu/drm/i915/intel_tv.c b/drivers/gpu/drm/i915/intel_tv.c
index 9325dff21c06..552ec110b741 100644
--- a/drivers/gpu/drm/i915/intel_tv.c
+++ b/drivers/gpu/drm/i915/intel_tv.c
@@ -1706,7 +1706,7 @@ static const struct drm_encoder_funcs intel_tv_enc_funcs = {
1706 * If it is not present, return false. 1706 * If it is not present, return false.
1707 * If no child dev is parsed from VBT, it assumes that the TV is present. 1707 * If no child dev is parsed from VBT, it assumes that the TV is present.
1708 */ 1708 */
1709int tv_is_present_in_vbt(struct drm_device *dev) 1709static int tv_is_present_in_vbt(struct drm_device *dev)
1710{ 1710{
1711 struct drm_i915_private *dev_priv = dev->dev_private; 1711 struct drm_i915_private *dev_priv = dev->dev_private;
1712 struct child_device_config *p_child; 1712 struct child_device_config *p_child;