Skip to content

Commit

Permalink
vesafb: bitwise OR has higher precedence than ?:
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roel Kluin authored and Linus Torvalds committed Apr 1, 2009
1 parent 1cc9fb6 commit b83734e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/vesafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b83734e

Please sign in to comment.