vesafb: bitwise OR has higher precedence than ?:
Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Acked-by: Michal Januszewski <michalj@gmail.com> Cc: Krzysztof Helt <krzysztof.h1@poczta.fm> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
1cc9fb6dbf
commit
b83734ec09
|
@ -438,7 +438,7 @@ static int __init vesafb_probe(struct platform_device *dev)
|
|||
info->var = vesafb_defined;
|
||||
info->fix = vesafb_fix;
|
||||
info->flags = FBINFO_FLAG_DEFAULT |
|
||||
(ypan) ? FBINFO_HWACCEL_YPAN : 0;
|
||||
(ypan ? FBINFO_HWACCEL_YPAN : 0);
|
||||
|
||||
if (!ypan)
|
||||
info->fbops->fb_pan_display = NULL;
|
||||
|
|
Loading…
Reference in New Issue
Block a user