diff mbox series

drm/audio: make drm_audio_component.h self-contained

Message ID 20221123130932.3863985-1-jani.nikula@intel.com (mailing list archive)
State New, archived
Headers show
Series drm/audio: make drm_audio_component.h self-contained | expand

Commit Message

Jani Nikula Nov. 23, 2022, 1:09 p.m. UTC
The file uses bool and struct completion, include the relevant headers.

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

Comments

Ville Syrjälä Nov. 23, 2022, 2:01 p.m. UTC | #1
On Wed, Nov 23, 2022 at 03:09:32PM +0200, Jani Nikula wrote:
> The file uses bool and struct completion, include the relevant headers.
> 
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.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
Jani Nikula Nov. 29, 2022, 1:54 p.m. UTC | #2
On Wed, 23 Nov 2022, Ville Syrjälä <ville.syrjala@linux.intel.com> wrote:
> On Wed, Nov 23, 2022 at 03:09:32PM +0200, Jani Nikula wrote:
>> The file uses bool and struct completion, include the relevant headers.
>> 
>> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
>
> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

Thanks, pushed to drm-misc-next.

BR,
Jani.

>
>> ---
>>  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
diff mbox series

Patch

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;