aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/kernel/vpe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/kernel/vpe.c b/arch/mips/kernel/vpe.c
index 06be405be399..9c89eebc356f 100644
--- a/arch/mips/kernel/vpe.c
+++ b/arch/mips/kernel/vpe.c
@@ -1171,7 +1171,8 @@ static int __init vpe_module_init(void)
1171 return -ENODEV; 1171 return -ENODEV;
1172 } 1172 }
1173 1173
1174 if ((major = register_chrdev(0, module_name, &vpe_fops) < 0)) { 1174 major = register_chrdev(0, module_name, &vpe_fops);
1175 if (major < 0) {
1175 printk("VPE loader: unable to register character device\n"); 1176 printk("VPE loader: unable to register character device\n");
1176 return major; 1177 return major;
1177 } 1178 }