diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-04-01 02:25:35 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-01 19:59:32 +0400 |
commit | 1cc9fb6dbf915e5c7e7e59bb7fab10572ddbb349 (patch) | |
tree | 1f751eccdd877f72f3eb57c19c6a1a845f54a265 /drivers/video | |
parent | b935257b1f98291ec1c8cbf7dbccbe0b20665bf6 (diff) | |
download | linux-1cc9fb6dbf915e5c7e7e59bb7fab10572ddbb349.tar.xz |
uvesafb: 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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/uvesafb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/uvesafb.c b/drivers/video/uvesafb.c index 398fd25e0810..c288270e42f7 100644 --- a/drivers/video/uvesafb.c +++ b/drivers/video/uvesafb.c @@ -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; |