summaryrefslogtreecommitdiffstats
path: root/drivers/video/uvesafb.c
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-04-01 00:25:35 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-01 17:59:32 +0200
commit1cc9fb6dbf915e5c7e7e59bb7fab10572ddbb349 (patch)
tree1f751eccdd877f72f3eb57c19c6a1a845f54a265 /drivers/video/uvesafb.c
parentarkfb: fix misplaced parentheses (diff)
downloadlinux-1cc9fb6dbf915e5c7e7e59bb7fab10572ddbb349.tar.xz
linux-1cc9fb6dbf915e5c7e7e59bb7fab10572ddbb349.zip
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 '')
-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,
}
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;