Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/exynos: remove incorrect ccflags from Makefile

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>

authored by

Andrzej Hajda and committed by
Inki Dae
4e6319cd 9844d6eb

+1 -3
-1
drivers/gpu/drm/exynos/Makefile
··· 2 2 # Makefile for the drm device driver. This driver provides support for the 3 3 # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. 4 4 5 - ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/exynos 6 5 exynosdrm-y := exynos_drm_drv.o exynos_drm_crtc.o exynos_drm_fbdev.o \ 7 6 exynos_drm_fb.o exynos_drm_gem.o exynos_drm_core.o \ 8 7 exynos_drm_plane.o
+1 -1
drivers/gpu/drm/exynos/exynos_drm_iommu.c
··· 9 9 * option) any later version. 10 10 */ 11 11 12 - #include <drmP.h> 12 + #include <drm/drmP.h> 13 13 #include <drm/exynos_drm.h> 14 14 15 15 #include <linux/dma-mapping.h>
-1
drivers/gpu/drm/exynos/exynos_drm_rotator.c
··· 20 20 #include <drm/drmP.h> 21 21 #include <drm/exynos_drm.h> 22 22 #include "regs-rotator.h" 23 - #include "exynos_drm.h" 24 23 #include "exynos_drm_drv.h" 25 24 #include "exynos_drm_ipp.h" 26 25