From 9a47db8e7a9dabe0b88a0071f1677722be167e68 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 27 Dec 2018 11:26:56 +0200 Subject: drm: rcar-du: Remove inclusion of drmP.h The DRM kernel API used to be defined in a handful of headers, pulled in through drmP.h. It has since been split in multiple headers for the different DRM components, and drmP.h turned into a legacy header that just pulls in most of the DRM kernel API (and a large number of other miscellaneous kernel headers). In order to speed up compilation, replace inclusion of drmP.h with only the required headers. It turns out that the rcar-du-drm driver already includes most of the necessary headers, so the change is simple. While at it, remove unneeded inclusion of other headers, and unneeded forward declarations of structures. Signed-off-by: Laurent Pinchart Acked-by: Daniel Vetter Reviewed-by: Kieran Bingham --- drivers/gpu/drm/rcar-du/rcar_du_encoder.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/gpu/drm/rcar-du/rcar_du_encoder.h') diff --git a/drivers/gpu/drm/rcar-du/rcar_du_encoder.h b/drivers/gpu/drm/rcar-du/rcar_du_encoder.h index ce3cbc85695e..552f2a02e5b5 100644 --- a/drivers/gpu/drm/rcar-du/rcar_du_encoder.h +++ b/drivers/gpu/drm/rcar-du/rcar_du_encoder.h @@ -10,10 +10,8 @@ #ifndef __RCAR_DU_ENCODER_H__ #define __RCAR_DU_ENCODER_H__ -#include #include -struct drm_panel; struct rcar_du_device; struct rcar_du_encoder { -- cgit