video: rockchip: iep: iep code modify
authorsayon.chen <sayon.chen@rock-chips.com>
Wed, 9 Mar 2016 01:02:45 +0000 (09:02 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 9 Mar 2016 10:41:34 +0000 (18:41 +0800)
fix iep code compile fail in kernel-4.4

Change-Id: Iba105baecff5fe474cd0d9c02dc9b7970e9c9990
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com>
drivers/video/rockchip/iep/Makefile
drivers/video/rockchip/iep/iep_drv.c
drivers/video/rockchip/iep/iep_drv.h

index b16da1019b7853bcc5dbafe1f90ca1f8f6f0faa2..0d058cac079fc95cf01981fb1371d65e5341f04a 100755 (executable)
@@ -1,2 +1 @@
 obj-$(CONFIG_IEP) += hw_iep_reg.o iep_drv.o 
-obj-$(CONFIG_IEP_MMU) += iep_mmu.o
index b1bfb96f04938e69b806fd796f2459a25420fb4d..7ed253eb9a54d858194966b118b9b5094cf4ef2e 100644 (file)
@@ -1,4 +1,4 @@
-/* 
+/*
  * Copyright (C) 2013 ROCKCHIP, Inc.
  *
  * This software is licensed under the terms of the GNU General Public
@@ -9,7 +9,7 @@
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  */
 
 #include <linux/clk.h>
@@ -203,7 +203,7 @@ static void iep_del_running_list_timeout(void)
 
 static inline void iep_queue_power_off_work(void)
 {
-       queue_delayed_work(system_nrt_wq, &iep_drvdata1->power_off_work, IEP_POWER_OFF_DELAY);
+       queue_delayed_work(system_wq, &iep_drvdata1->power_off_work, IEP_POWER_OFF_DELAY);
 }
 
 static void iep_power_on(void)
index 9a44e0c4930aa3051c90973861de250dbe08b753..496e0d04cf155f7d57091750e04e45d4aa25cdcc 100644 (file)
@@ -5,7 +5,7 @@
 #include <linux/miscdevice.h>
 #include <linux/mutex.h>
 
-#if defined(CONFIG_ROCKCHIP_IOMMU) && defined(CONFIG_ION_ROCKCHIP)
+#if defined(CONFIG_RK_IOMMU) && defined(CONFIG_ION_ROCKCHIP)
 #define CONFIG_IEP_IOMMU
 #endif