From: Sam Ravnborg Date: Tue, 8 Jan 2019 19:29:36 +0000 (+0100) Subject: drm/arc: do not rely on drmP.h from drm_gem_cma_helper.h X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=fe1f664a36091f4a3c771178f47545b190c78162;p=openwrt%2Fstaging%2Fblogic.git drm/arc: do not rely on drmP.h from drm_gem_cma_helper.h drmP.h was the only header file in the past and a lot of files rely on that drmP.h defines everything. The goal is to one day to delete drmP.h and as a step towards this it will no longer be included in the headers files in include/drm/ To prepare arc/ for this add dependencies that othwewise was pulled in by drmP.h from drm_gem_cma_helper.h Signed-off-by: Sam Ravnborg Acked-by: Noralf Trønnes Cc: Alexey Brodkin Cc: Daniel Vetter Cc: David Airlie [danvet: Fix typo in commit message.] Signed-off-by: Daniel Vetter Link: https://patchwork.freedesktop.org/patch/msgid/20190108192939.15255-10-sam@ravnborg.org --- diff --git a/drivers/gpu/drm/arc/arcpgu_crtc.c b/drivers/gpu/drm/arc/arcpgu_crtc.c index 62f51f70606d..155ab177ce0b 100644 --- a/drivers/gpu/drm/arc/arcpgu_crtc.c +++ b/drivers/gpu/drm/arc/arcpgu_crtc.c @@ -16,8 +16,10 @@ #include #include +#include #include #include +#include #include #include #include diff --git a/drivers/gpu/drm/arc/arcpgu_drv.c b/drivers/gpu/drm/arc/arcpgu_drv.c index 206a76abf771..39a79f5718c4 100644 --- a/drivers/gpu/drm/arc/arcpgu_drv.c +++ b/drivers/gpu/drm/arc/arcpgu_drv.c @@ -16,12 +16,18 @@ #include #include +#include +#include +#include #include #include #include #include #include +#include +#include #include +#include #include "arcpgu.h" #include "arcpgu_regs.h"