1
0
Fork 0

gpu:Remove dma.h to avoid Linux 5.x build problem

Log:
    ../drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c:87:17:
fatal error: dma.h: No such file or directory
     #include <dma.h>
                     ^
    compilation terminated.
    ../scripts/Makefile.build:280: recipe for target
'drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.o' failed
    make[4]: ***
[drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.o] Error 1

Signed-off-by: Minjie Zhuang<minjie.zhuang@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Minjie Zhuang 2019-09-25 12:42:31 +08:00 committed by Dong Aisheng
parent cc07713a0d
commit 08f009a338
1 changed files with 0 additions and 4 deletions

View File

@ -83,10 +83,6 @@
#include <linux/dma-buf.h>
#endif
#if defined(CONFIG_ARM) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 3, 0)
//#include <dma.h>
#endif
#define _GC_OBJ_ZONE gcvZONE_OS
#include "gc_hal_kernel_allocator.h"