drm/sprd: include correct ion.h header file in sprd_drm
authorRohit kumar <rohit.kr@samsung.com>
Wed, 6 Jan 2016 09:24:11 +0000 (14:54 +0530)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Wed, 13 Jan 2016 01:29:27 +0000 (10:29 +0900)
This patch updates sprd_drm to include staging/ion header
file instead of include/linux/ion.h as we are now using
staging ion driver.

Change-Id: I799c8553aa43278ecab85bc55d518b572b5ef9ea
Signed-off-by: Rohit kumar <rohit.kr@samsung.com>
drivers/gpu/drm/sprd/Makefile
drivers/gpu/drm/sprd/sprd_drm_drv.h

index bc7846d..e85c0be 100644 (file)
@@ -3,7 +3,7 @@
 # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
 
 ccflags-y := -Iinclude/uapi/drm -Idrivers/gpu/drm/sprd -Iinclude/drm
-ccflags-y += -Idrivers/video/sprdfb
+ccflags-y += -Idrivers/video/sprdfb -Idrivers/staging/android/ion
 sprddrm-y := sprd_drm_drv.o sprd_drm_buf.o sprd_drm_gem.o \
                sprd_drm_core.o sprd_drm_irq.o
 
index 326da87..dcd0fa0 100644 (file)
@@ -16,7 +16,7 @@
 #define _SPRD_DRM_DRV_H_
 
 #include <linux/module.h>
-#include <linux/ion.h>
+#include "ion.h"
 #include "drm.h"
 #include <drm/sprd_drm.h>