Commit b83734ec authored by Roel Kluin's avatar Roel Kluin Committed by Linus Torvalds

vesafb: bitwise OR has higher precedence than ?:

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Acked-by: default avatarMichal Januszewski <michalj@gmail.com>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1cc9fb6d
...@@ -438,7 +438,7 @@ static int __init vesafb_probe(struct platform_device *dev) ...@@ -438,7 +438,7 @@ static int __init vesafb_probe(struct platform_device *dev)
info->var = vesafb_defined; info->var = vesafb_defined;
info->fix = vesafb_fix; info->fix = vesafb_fix;
info->flags = FBINFO_FLAG_DEFAULT | info->flags = FBINFO_FLAG_DEFAULT |
(ypan) ? FBINFO_HWACCEL_YPAN : 0; (ypan ? FBINFO_HWACCEL_YPAN : 0);
if (!ypan) if (!ypan)
info->fbops->fb_pan_display = NULL; info->fbops->fb_pan_display = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment