diff mbox series

[16/19] drm/i915/display: add I915 conditional build to intel_dvo.h

Message ID d43b27742297083b37d52222c4bb72b062ef4967.1694514689.git.jani.nikula@intel.com (mailing list archive)
State New, archived
Headers show
Series drm/i915: prepare for xe driver display integration | expand

Commit Message

Jani Nikula Sept. 12, 2023, 11:06 a.m. UTC
Add stubs for !I915.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/i915/display/intel_dvo.h | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/display/intel_dvo.h b/drivers/gpu/drm/i915/display/intel_dvo.h
index 3ed0fdf8efff..bf7a356422ab 100644
--- a/drivers/gpu/drm/i915/display/intel_dvo.h
+++ b/drivers/gpu/drm/i915/display/intel_dvo.h
@@ -8,6 +8,12 @@ 
 
 struct drm_i915_private;
 
+#ifdef I915
 void intel_dvo_init(struct drm_i915_private *dev_priv);
+#else
+static inline void intel_dvo_init(struct drm_i915_private *dev_priv)
+{
+}
+#endif
 
 #endif /* __INTEL_DVO_H__ */