[Intel-xe] [PATCH 10/21] fixup! drm/i915/display: Remaining changes to make xe compile

Jani Nikula jani.nikula at intel.com
Wed Apr 5 15:39:09 UTC 2023


intel_lpe_audio.h ifdef cleanup

To be replaced with better conditional build.

Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 drivers/gpu/drm/i915/display/intel_lpe_audio.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_lpe_audio.h b/drivers/gpu/drm/i915/display/intel_lpe_audio.h
index 6171032b4115..0beecac267ae 100644
--- a/drivers/gpu/drm/i915/display/intel_lpe_audio.h
+++ b/drivers/gpu/drm/i915/display/intel_lpe_audio.h
@@ -12,19 +12,11 @@ enum port;
 enum transcoder;
 struct drm_i915_private;
 
-#ifdef I915
 int  intel_lpe_audio_init(struct drm_i915_private *dev_priv);
 void intel_lpe_audio_teardown(struct drm_i915_private *dev_priv);
 void intel_lpe_audio_irq_handler(struct drm_i915_private *dev_priv);
 void intel_lpe_audio_notify(struct drm_i915_private *dev_priv,
 			    enum transcoder cpu_transcoder, enum port port,
 			    const void *eld, int ls_clock, bool dp_output);
-#else
-#define intel_lpe_audio_init(xe) (-ENODEV)
-#define intel_lpe_audio_teardown(xe) BUG_ON(1)
-#define intel_lpe_audio_irq_handler(xe) do { } while (0)
-#define intel_lpe_audio_notify(xe, a, b, c, d, e) do { } while (0)
-
-#endif
 
 #endif /* __INTEL_LPE_AUDIO_H__ */
-- 
2.39.2



More information about the Intel-xe mailing list