uvesafb: Fix misplaced parentheses
PATCH 1/1 uvesafb: Fix misplaced parentheses
Fix misplaced parentheses
---
// vi include/linux/fb.h +755
#define FBINFO_MODULE 0x0001 /* Low-level driver is a module */
// ... :778
#define FBINFO_HWACCEL_YPAN 0x2000 /* optional */
// ... :855
#ifdef MODULE
#define FBINFO_DEFAULT FBINFO_MODULE
#else
#define FBINFO_DEFAULT 0
#endif
drivers/video/uvesafb.c +1 -1
@@ -1549,7 +1549,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 ;
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
Quoted 3 lines · Roel Kluin
Fix misplaced parentheses
Signed-off-by Roel Kluin <[email protected]>
Quoted 20 lines
---
// viinclude/linux/fb.h+755
#defineFBINFO_MODULE0x0001/* Low-level driver is a module */// ... :778
#defineFBINFO_HWACCEL_YPAN0x2000/* optional */// ... :855
#ifdef MODULE
#defineFBINFO_DEFAULTFBINFO_MODULE
#else
#defineFBINFO_DEFAULT0
#endifdrivers/video/uvesafb.c +0
-0
drivers/video/uvesafb.c static void __devinit uvesafb_init_info(struct fb_info *info, · line 1555
Quoted 8 lines
drivers/video/uvesafb.c +1
-1@@ -1549,7 +1549,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 ;
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Linux-fbdev-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel