2018-12-24 14:37:48

by Brajeswar Ghosh

[permalink] [raw]
Subject: [PATCH] drm/drm_drv.c: Remove duplicate header

Remove drm_crtc_internal.h which is included more than once

Signed-off-by: Brajeswar Ghosh <[email protected]>
---
drivers/gpu/drm/drm_drv.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c
index 4126bb6e1a4a..75f4e6bf67ca 100644
--- a/drivers/gpu/drm/drm_drv.c
+++ b/drivers/gpu/drm/drm_drv.c
@@ -41,7 +41,6 @@
#include "drm_crtc_internal.h"
#include "drm_legacy.h"
#include "drm_internal.h"
-#include "drm_crtc_internal.h"

/*
* drm_debug: Enable debug output.
--
2.17.1



2018-12-27 22:04:39

by Daniel Vetter

[permalink] [raw]
Subject: Re: [PATCH] drm/drm_drv.c: Remove duplicate header

On Mon, Dec 24, 2018 at 08:06:36PM +0530, Brajeswar Ghosh wrote:
> Remove drm_crtc_internal.h which is included more than once
>
> Signed-off-by: Brajeswar Ghosh <[email protected]>

Applied, thanks for your patch.
-Daniel

> ---
> drivers/gpu/drm/drm_drv.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c
> index 4126bb6e1a4a..75f4e6bf67ca 100644
> --- a/drivers/gpu/drm/drm_drv.c
> +++ b/drivers/gpu/drm/drm_drv.c
> @@ -41,7 +41,6 @@
> #include "drm_crtc_internal.h"
> #include "drm_legacy.h"
> #include "drm_internal.h"
> -#include "drm_crtc_internal.h"
>
> /*
> * drm_debug: Enable debug output.
> --
> 2.17.1
>
> _______________________________________________
> dri-devel mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

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