Commit e6a5ad9a authored by Jani Nikula's avatar Jani Nikula
parent 6842d381
...@@ -14,9 +14,22 @@ struct drm_i915_private; ...@@ -14,9 +14,22 @@ struct drm_i915_private;
enum pipe; enum pipe;
enum port; enum port;
#ifdef I915
bool intel_sdvo_port_enabled(struct drm_i915_private *dev_priv, bool intel_sdvo_port_enabled(struct drm_i915_private *dev_priv,
i915_reg_t sdvo_reg, enum pipe *pipe); i915_reg_t sdvo_reg, enum pipe *pipe);
bool intel_sdvo_init(struct drm_i915_private *dev_priv, bool intel_sdvo_init(struct drm_i915_private *dev_priv,
i915_reg_t reg, enum port port); i915_reg_t reg, enum port port);
#else
static inline bool intel_sdvo_port_enabled(struct drm_i915_private *dev_priv,
i915_reg_t sdvo_reg, enum pipe *pipe)
{
return false;
}
static inline bool intel_sdvo_init(struct drm_i915_private *dev_priv,
i915_reg_t reg, enum port port)
{
return false;
}
#endif
#endif /* __INTEL_SDVO_H__ */ #endif /* __INTEL_SDVO_H__ */
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