• Rodolfo Giometti's avatar
    [PATCH] au1100fb: Fix compilation · c05b7f3d
    Rodolfo Giometti authored
    From: Rodolfo Giometti <giometti@linux.it>
    
    Fix the following warning on compilation:
    
    drivers/video/au1100fb.c: In function `au1100fb_fb_setcolreg':
    drivers/video/au1100fb.c:219: warning: ISO C90 forbids mixed declarations and code
    drivers/video/au1100fb.c: In function `au1100fb_fb_pan_display':
    drivers/video/au1100fb.c:321: warning: ISO C90 forbids mixed declarations and code
    drivers/video/au1100fb.c: In function `au1100fb_fb_mmap':
    drivers/video/au1100fb.c:387: warning: ISO C90 forbids mixed declarations and code
    drivers/video/au1100fb.c: In function `au1100fb_drv_probe':
    drivers/video/au1100fb.c:471: warning: unsigned int format, long unsigned int arg (arg 2)
    drivers/video/au1100fb.c: At top level:
    drivers/video/au1100fb.c:617: warning: initialization from incompatible pointer type
    drivers/video/au1100fb.c:618: warning: initialization from incompatible pointer type
    Signed-off-by: default avatarRodolfo Giometti <giometti@linux.it>
    Signed-off-by: default avatarAntonino Daplas <adaplas@pol.net>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    c05b7f3d
au1100fb.c 18.8 KB