mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
video/rockchip: rga2: fix compile error on dma-buf-cache
Update driver version to 2.1.1 Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com> Change-Id: I84da3bbb395a98db52ef750e8c34692fec07c4a6
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
/* Driver information */
|
||||
#define DRIVER_DESC "RGA2 Device Driver"
|
||||
#define DRIVER_NAME "rga2"
|
||||
#define DRIVER_VERSION "2.1.0"
|
||||
#define DRIVER_VERSION "2.1.1"
|
||||
|
||||
/* Logging */
|
||||
#define RGA_DEBUG 1
|
||||
|
||||
@@ -45,7 +45,11 @@
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0))
|
||||
#include <linux/pm_runtime.h>
|
||||
#ifdef CONFIG_DMABUF_CACHE
|
||||
#include <linux/dma-buf-cache.h>
|
||||
#else
|
||||
#include <linux/dma-buf.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "rga2.h"
|
||||
|
||||
Reference in New Issue
Block a user