linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Masahiro Yamada <yamada.masahiro@socionext.com>
To: dri-devel@lists.freedesktop.org, David Airlie <airlied@linux.ie>,
	Daniel Vetter <daniel.vetter@intel.com>,
	Jani Nikula <jani.nikula@linux.intel.com>,
	Sean Paul <seanpaul@chromium.org>
Cc: linux-kernel@vger.kernel.org,
	Masahiro Yamada <yamada.masahiro@socionext.com>
Subject: [PATCH v2 14/29] drm/tilcdc: fix include notation and remove -Iinclude/drm flag
Date: Mon, 24 Apr 2017 13:50:32 +0900	[thread overview]
Message-ID: <1493009447-31524-15-git-send-email-yamada.masahiro@socionext.com> (raw)
In-Reply-To: <1493009447-31524-1-git-send-email-yamada.masahiro@socionext.com>

Include <drm/*.h> instead of relative path from include/drm, then
remove the -Iinclude/drm compiler flag.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v2: None

 drivers/gpu/drm/tilcdc/Makefile     | 1 -
 drivers/gpu/drm/tilcdc/tilcdc_drv.c | 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/tilcdc/Makefile b/drivers/gpu/drm/tilcdc/Makefile
index 6f67517..55ebd51 100644
--- a/drivers/gpu/drm/tilcdc/Makefile
+++ b/drivers/gpu/drm/tilcdc/Makefile
@@ -1,4 +1,3 @@
-ccflags-y := -Iinclude/drm
 ifeq (, $(findstring -W,$(EXTRA_CFLAGS)))
 	ccflags-y += -Werror
 endif
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
index d7ae5be..d67e189 100644
--- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c
+++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
@@ -22,6 +22,7 @@
 #include <linux/suspend.h>
 #include <drm/drm_atomic.h>
 #include <drm/drm_atomic_helper.h>
+#include <drm/drm_fb_helper.h>
 
 #include "tilcdc_drv.h"
 #include "tilcdc_regs.h"
@@ -29,8 +30,6 @@
 #include "tilcdc_panel.h"
 #include "tilcdc_external.h"
 
-#include "drm_fb_helper.h"
-
 static LIST_HEAD(module_list);
 
 static const u32 tilcdc_rev1_formats[] = { DRM_FORMAT_RGB565 };
-- 
2.7.4

  parent reply	other threads:[~2017-04-24  4:52 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-24  4:50 [PATCH v2 00/29] gpu/drm: remove -Iinclude/drm compiler flags from Makefile Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 01/29] drm: make drm_panel.h self-contained Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 02/29] drm/ttm: fix include notation and remove -Iinclude/drm flag Masahiro Yamada
2017-04-25  3:57   ` Michel Dänzer
2017-04-24  4:50 ` [PATCH v2 03/29] drm/amd: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 04/29] drm/ast: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 05/29] drm/bochs: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 06/29] drm/bridge: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 07/29] drm/cirrus: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 08/29] drm/hisilicon: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 09/29] drm/mgag200: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 10/29] drm/msm: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 11/29] drm/nouveau: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 12/29] drm/qxl: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 13/29] drm/radeon: " Masahiro Yamada
2017-04-24  4:50 ` Masahiro Yamada [this message]
2017-04-24  4:50 ` [PATCH v2 15/29] drm/vc4: " Masahiro Yamada
2017-05-17 12:40   ` Daniel Vetter
2017-05-18  4:35     ` Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 16/29] drm/virtio: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 17/29] drm/vmwgfx: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 18/29] drm/gma500: remove unneeded -Iinclude/drm compiler flag Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 19/29] drm/i810: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 20/29] drm/i2c: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 21/29] drm/mga: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 22/29] drm/omap: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 23/29] drm/r128: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 24/29] drm/savage: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 25/29] drm/sis: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 26/29] drm/tdfx: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 27/29] drm/udl: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 28/29] drm/vgem: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 29/29] drm/via: " Masahiro Yamada
2017-05-18  5:38 ` [PATCH v2 00/29] gpu/drm: remove -Iinclude/drm compiler flags from Makefile Daniel Vetter
2017-05-19 12:39   ` Masahiro Yamada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1493009447-31524-15-git-send-email-yamada.masahiro@socionext.com \
    --to=yamada.masahiro@socionext.com \
    --cc=airlied@linux.ie \
    --cc=daniel.vetter@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=seanpaul@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).