Skip to content

Commit e58a703

Browse files
Yu Qiaoweirkhuangtao
authored andcommitted
video/rockchip: rga2: Ion can be used below kernel4.4.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com> Change-Id: Ie9da1dfcd8682875763d401bc0c5d874ad98b870
1 parent f558e5a commit e58a703

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/video/rockchip/rga2/rga2_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
#include "rga2_mmu_info.h"
5555
#include "RGA2_API.h"
5656

57-
#if defined(CONFIG_ION_ROCKCHIP)
57+
#if IS_ENABLED(CONFIG_ION_ROCKCHIP) && (LINUX_VERSION_CODE < KERNEL_VERSION(4, 4, 0))
5858
#include <linux/rockchip_ion.h>
5959
#endif
6060

0 commit comments

Comments
 (0)