[PATCH] drm: Format-declare struct drm_format_info in drm_framebuffer.h

Jani Nikula jani.nikula at linux.intel.com
Wed Mar 13 12:30:11 UTC 2019


On Wed, 13 Mar 2019, Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com> wrote:
> drm_framebuffer.h makes use of a pointer to struct drm_format_info but
> doesn't include drm_fourcc.h (neither directly nor indirectly).
> Forward-declare the structure.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>

With the subject typo fixed,

Reviewed-by: Jani Nikula <jani.nikula at intel.com>


> ---
>  include/drm/drm_framebuffer.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/include/drm/drm_framebuffer.h b/include/drm/drm_framebuffer.h
> index f0b34c977ec5..c23016748e3f 100644
> --- a/include/drm/drm_framebuffer.h
> +++ b/include/drm/drm_framebuffer.h
> @@ -32,6 +32,7 @@
>  struct drm_clip_rect;
>  struct drm_device;
>  struct drm_file;
> +struct drm_format_info;
>  struct drm_framebuffer;
>  struct drm_gem_object;

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the dri-devel mailing list