aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-03-31 18:25:35 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-01 11:59:32 -0400
commit1cc9fb6dbf915e5c7e7e59bb7fab10572ddbb349 (patch)
tree1f751eccdd877f72f3eb57c19c6a1a845f54a265 /drivers/video
parentb935257b1f98291ec1c8cbf7dbccbe0b20665bf6 (diff)
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.c2
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,
1552 } 1552 }
1553 1553
1554 info->flags = FBINFO_FLAG_DEFAULT | 1554 info->flags = FBINFO_FLAG_DEFAULT |
1555 (par->ypan) ? FBINFO_HWACCEL_YPAN : 0; 1555 (par->ypan ? FBINFO_HWACCEL_YPAN : 0);
1556 1556
1557 if (!par->ypan) 1557 if (!par->ypan)
1558 info->fbops->fb_pan_display = NULL; 1558 info->fbops->fb_pan_display = NULL;