• Andrew Morton's avatar
    [PATCH] atyfb c99 fix · 2601c2e2
    Andrew Morton authored
    - fix this:
    
      drivers/video/aty/xlinit.c: In function `atyfb_xl_init':
      drivers/video/aty/xlinit.c:256: warning: ISO C90 forbids mixed declarations and code
    
    - repair some kooky coding style
    
    - Use ARRAY_SIZE()
    
    Cc: Tom 'spot' Callaway <tcallawa@redhat.com>
    Cc: "Antonino A. Daplas" <adaplas@pol.net>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    2601c2e2
xlinit.c 9.83 KB