diff options
author | 2009-03-31 15:25:35 -0700 | |
---|---|---|
committer | 2009-04-01 08:59:32 -0700 | |
commit | 1cc9fb6dbf915e5c7e7e59bb7fab10572ddbb349 (patch) | |
tree | 1f751eccdd877f72f3eb57c19c6a1a845f54a265 /drivers/video/uvesafb.c | |
parent | arkfb: fix misplaced parentheses (diff) | |
download | linux-1cc9fb6dbf915e5c7e7e59bb7fab10572ddbb349.tar.gz linux-1cc9fb6dbf915e5c7e7e59bb7fab10572ddbb349.tar.bz2 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 'drivers/video/uvesafb.c')
-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; |