]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
uvesafb: bitwise OR has higher precedence than ?:
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 31 Mar 2009 22:25:35 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:32 +0000 (08:59 -0700)
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>
drivers/video/uvesafb.c

index 398fd25e081066781fd6f14def55099cdb0f8801..c288270e42f729afd3ebe620f0e49d2b47bb159c 100644 (file)
@@ -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;