Skip to content

Commit

Permalink
uvesafb: 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 b935257 commit 1cc9fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/uvesafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1552,7 +1552,7 @@ static void __devinit uvesafb_init_info(struct fb_info *info,
}

info->flags = FBINFO_FLAG_DEFAULT |
(par->ypan) ? FBINFO_HWACCEL_YPAN : 0;
(par->ypan ? FBINFO_HWACCEL_YPAN : 0);

if (!par->ypan)
info->fbops->fb_pan_display = NULL;
Expand Down

0 comments on commit 1cc9fb6

Please sign in to comment.