[Intel-gfx] [PATCH] drm/i915: Header cleanup for intel_display
Chris Wilson
chris at chris-wilson.co.uk
Thu Jan 5 10:00:07 UTC 2017
On Thu, Jan 05, 2017 at 09:12:17AM +0200, Mika Kahola wrote:
> Remove reference to drm/drm_edid.h and drm/drmP.h as these are no longer
> required.
>
> Signed-off-by: Mika Kahola <mika.kahola at intel.com>
> ---
> drivers/gpu/drm/i915/intel_display.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index ab72858..c4e1bfa 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -31,8 +31,6 @@
> #include <linux/kernel.h>
> #include <linux/slab.h>
> #include <linux/vgaarb.h>
> -#include <drm/drm_edid.h>
> -#include <drm/drmP.h>
> #include "intel_drv.h"
> #include "intel_frontbuffer.h"
> #include <drm/i915_drm.h>
But you could bring order to this mess whilst you are here...
+#include <linux/dma_remapping.h>
#include <linux/dmi.h>
#include <linux/module.h>
#include <linux/input.h>
#include <linux/i2c.h>
#include <linux/kernel.h>
+#include <linux/reservation.h>
#include <linux/slab.h>
#include <linux/vgaarb.h>
-#include <drm/drm_edid.h>
-#include <drm/drmP.h>
-#include "intel_drv.h"
-#include "intel_frontbuffer.h"
-#include <drm/i915_drm.h>
-#include "i915_drv.h"
-#include "intel_dsi.h"
-#include "i915_trace.h"
+
#include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_dp_helper.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_plane_helper.h>
#include <drm/drm_rect.h>
-#include <linux/dma_remapping.h>
-#include <linux/reservation.h>
+
+#include "i915_drv.h"
+#include "i915_trace.h"
+#include "intel_drv.h"
+#include "intel_dsi.h"
+#include "intel_frontbuffer.h"
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list