[PATCH] drm/audio: make drm_audio_component.h self-contained

Jani Nikula jani.nikula at intel.com
Wed Nov 23 13:09:32 UTC 2022


The file uses bool and struct completion, include the relevant headers.

Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 include/drm/drm_audio_component.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/drm/drm_audio_component.h b/include/drm/drm_audio_component.h
index 0d36bfd1a4cd..5a4cd1fa8e2a 100644
--- a/include/drm/drm_audio_component.h
+++ b/include/drm/drm_audio_component.h
@@ -4,6 +4,9 @@
 #ifndef _DRM_AUDIO_COMPONENT_H_
 #define _DRM_AUDIO_COMPONENT_H_
 
+#include <linux/completion.h>
+#include <linux/types.h>
+
 struct drm_audio_component;
 struct device;
 
-- 
2.34.1



More information about the dri-devel mailing list