提交 cfb810f8 编写于 作者: G Gustavo A. R. Silva 提交者: Bartlomiej Zolnierkiewicz

video: fbdev: aty128fb: use true and false for boolean values

Assign true or false to boolean variables instead of an integer value.

This issue was detected with the help of Coccinelle.
Signed-off-by: NGustavo A. R. Silva <gustavo@embeddedor.com>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: NBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
上级 e393cb1c
...@@ -1716,7 +1716,7 @@ static int aty128fb_setup(char *options) ...@@ -1716,7 +1716,7 @@ static int aty128fb_setup(char *options)
continue; continue;
} }
if(!strncmp(this_opt, "nomtrr", 6)) { if(!strncmp(this_opt, "nomtrr", 6)) {
mtrr = 0; mtrr = false;
continue; continue;
} }
#ifdef CONFIG_PPC_PMAC #ifdef CONFIG_PPC_PMAC
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册