rockchip:mali400:fix compile error about function map_error
authorxxm <xxm@rock-chips.com>
Tue, 22 Jul 2014 10:18:57 +0000 (18:18 +0800)
committerxxm <xxm@rock-chips.com>
Tue, 22 Jul 2014 10:18:57 +0000 (18:18 +0800)
drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c

index e8048db42d54de19e377a77fffd26544f9558688..57d8695d545e3196a4769315ddc31c89433f5aa8 100755 (executable)
@@ -560,7 +560,7 @@ static int mali_release(struct inode *inode, struct file *filp)
 
        return 0;
 }
-#ifndef CONFIG_MALI400
+#ifdef CONFIG_MALI400
 int map_errcode( _mali_osk_errcode_t err )
 {
        switch(err) {