Re: [PATCH] drivers: gpu: drm: xen_drm_front_drm_info is declared twice
From: Oleksandr Andrushchenko
Date: Thu Mar 25 2021 - 03:42:48 EST
Hi,
On 3/25/21 8:19 AM, Wan Jiabing wrote:
> struct xen_drm_front_drm_info has been declared.
> Remove the duplicate.
>
> Signed-off-by: Wan Jiabing <wanjiabing@xxxxxxxx>
Thank you for the patch,
Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx>
Will apply to drm-misc-next-fixes
Thank you,
Oleksandr
> ---
> drivers/gpu/drm/xen/xen_drm_front_conn.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xen/xen_drm_front_conn.h b/drivers/gpu/drm/xen/xen_drm_front_conn.h
> index 3adacba9a23b..e5f4314899ee 100644
> --- a/drivers/gpu/drm/xen/xen_drm_front_conn.h
> +++ b/drivers/gpu/drm/xen/xen_drm_front_conn.h
> @@ -16,7 +16,6 @@
> struct drm_connector;
> struct xen_drm_front_drm_info;
>
> -struct xen_drm_front_drm_info;
>
> int xen_drm_front_conn_init(struct xen_drm_front_drm_info *drm_info,
> struct drm_connector *connector);