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

Ville Syrjälä ville.syrjala at linux.intel.com
Wed Nov 23 14:01:48 UTC 2022


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 at intel.com>

Reviewed-by: Ville Syrjälä <ville.syrjala at 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

-- 
Ville Syrjälä
Intel


More information about the dri-devel mailing list