[PATCH] drm/atomic: Add missing drm_crtc_internal.h include

Daniel Vetter daniel at ffwll.ch
Thu Apr 28 14:36:44 UTC 2016


On Thu, Apr 28, 2016 at 03:19:56PM +0200, Thierry Reding wrote:
> From: Thierry Reding <treding at nvidia.com>
> 
> Some of the functions implemented are flagged as not having a prototype
> defined when building with W=1. Include the header to avoid these build
> warnings.
> 
> Signed-off-by: Thierry Reding <treding at nvidia.com>

Applied to drm-misc, thanks.
-Daniel
> ---
>  drivers/gpu/drm/drm_atomic.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c
> index 8ee1db866e80..2fabd8c4fd88 100644
> --- a/drivers/gpu/drm/drm_atomic.c
> +++ b/drivers/gpu/drm/drm_atomic.c
> @@ -31,6 +31,8 @@
>  #include <drm/drm_mode.h>
>  #include <drm/drm_plane_helper.h>
>  
> +#include "drm_crtc_internal.h"
> +
>  /**
>   * drm_atomic_state_default_release -
>   * release memory initialized by drm_atomic_state_init
> -- 
> 2.8.0
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list