drm/exynos: remove incorrect ccflags from Makefile
authorAndrzej Hajda <a.hajda@samsung.com>
Wed, 24 Feb 2016 14:15:22 +0000 (15:15 +0100)
committerInki Dae <daeinki@gmail.com>
Tue, 1 Mar 2016 14:37:20 +0000 (23:37 +0900)
Include directories are provided by core already, adding them in driver
is redundand and causes warnings in case of out-of-tree build.

v2:
    - fixed include in exynos_drm_iommu.c
    - typo in commit message

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/Makefile
drivers/gpu/drm/exynos/exynos_drm_iommu.c
drivers/gpu/drm/exynos/exynos_drm_rotator.c

index 6496532..968b31c 100644 (file)
@@ -2,7 +2,6 @@
 # Makefile for the drm device driver.  This driver provides support for the
 # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
 
-ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/exynos
 exynosdrm-y := exynos_drm_drv.o exynos_drm_crtc.o exynos_drm_fbdev.o \
                exynos_drm_fb.o exynos_drm_gem.o exynos_drm_core.o \
                exynos_drm_plane.o
index d73b9ad..aeb1c3a 100644 (file)
@@ -9,7 +9,7 @@
  * option) any later version.
  */
 
-#include <drmP.h>
+#include <drm/drmP.h>
 #include <drm/exynos_drm.h>
 
 #include <linux/dma-mapping.h>
index ce59f44..f18fbe4 100644 (file)
@@ -20,7 +20,6 @@
 #include <drm/drmP.h>
 #include <drm/exynos_drm.h>
 #include "regs-rotator.h"
-#include "exynos_drm.h"
 #include "exynos_drm_drv.h"
 #include "exynos_drm_ipp.h"