Staging: xgifb: fix lots of sparse warnings
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 10 Aug 2010 15:46:44 +0000 (08:46 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 31 Aug 2010 21:51:53 +0000 (14:51 -0700)
commit8922967ea36eac4c2f5eaa78ec43d781340ccc31
treefb3450357f6766b8e28e2025212ae9ce5e097d16
parent6a4ca0399255260bb04fa4e718625ede0c745e59
Staging: xgifb: fix lots of sparse warnings

Fix many sparse warnings about data or functions being static.
Fix many sparse warnings about data or functions not being used
  (put them inside #if 0/#endif blocks).
Fix sparse warnings about 0 being used for NULL.
Fixed a small bit of source formatting when those lines were being
  modified anyway, but there is still lots of this yet to be done.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: devel@driverdev.osuosl.org
Cc: Arnaud Patard <apatard@mandriva.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/xgifb/XGI_accel.h
drivers/staging/xgifb/XGI_main.h
drivers/staging/xgifb/XGI_main_26.c
drivers/staging/xgifb/vb_ext.c
drivers/staging/xgifb/vb_init.c
drivers/staging/xgifb/vb_setmode.c
drivers/staging/xgifb/vb_table.h
drivers/staging/xgifb/vb_util.c