rockchip:mali400:ump no longer exist,so define map_errcode in mali.ko permanent
authorxxm <xxm@rock-chips.com>
Mon, 28 Jul 2014 06:24:57 +0000 (14:24 +0800)
committerxxm <xxm@rock-chips.com>
Mon, 28 Jul 2014 06:25:10 +0000 (14:25 +0800)
drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c

index 57d8695d545e3196a4769315ddc31c89433f5aa8..4f61c3909fc2fdb6203b7e169fcae1c30afbbf7c 100755 (executable)
@@ -560,7 +560,7 @@ static int mali_release(struct inode *inode, struct file *filp)
 
        return 0;
 }
-#ifdef CONFIG_MALI400
+
 int map_errcode( _mali_osk_errcode_t err )
 {
        switch(err) {
@@ -584,7 +584,6 @@ int map_errcode( _mali_osk_errcode_t err )
                return -EFAULT;
        }
 }
-#endif
 
 #ifdef HAVE_UNLOCKED_IOCTL
 static long mali_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)