summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_tv.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_tv.h')
-rw-r--r--drivers/gpu/drm/i915/display/intel_tv.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_tv.h b/drivers/gpu/drm/i915/display/intel_tv.h
index 44518575ec5c..0f280f69e73c 100644
--- a/drivers/gpu/drm/i915/display/intel_tv.h
+++ b/drivers/gpu/drm/i915/display/intel_tv.h
@@ -6,8 +6,14 @@
#ifndef __INTEL_TV_H__
#define __INTEL_TV_H__
-struct drm_i915_private;
+struct intel_display;
-void intel_tv_init(struct drm_i915_private *dev_priv);
+#ifdef I915
+void intel_tv_init(struct intel_display *display);
+#else
+static inline void intel_tv_init(struct intel_display *display)
+{
+}
+#endif
#endif /* __INTEL_TV_H__ */