Hello, Here's another batch of cleanups. I hope the series is not too big, most of the changes are just mechanical. Testing: - compile-tested with GCC 4.5.2, no warnings - tested with Z9 (XG21) on ARM, framebuffer console works v2: - Function rename patches included some additional cleanups that should have been in separate patches. Those are now separated. Aaro Koskinen (24): staging: xgifb: vb_ext: move functions to avoid forward declarations staging: xgifb: vb_init: move functions to avoid forward declarations staging: xgifb: vb_setmode: move functions to avoid forward declarations staging: xgifb: delete unsupported chip types staging: xgifb: delete dead code for chip types < XG40 staging: xgifb: eliminate redudant chip type >= XG40 checks staging: xgifb: delete unused LINUXBIOS code staging: xgifb: delete redundant extended register access enable staging: xgifb: delete incorrect I/O mapping staging: xgifb: use mdelay() for millisecond delays staging: xgifb: replace DelayUS() with udelay() staging: xgifb: vb_util: include the .h file staging: xgifb: vb_util: delete commented-out code staging: xgifb: replace XGINew_GetReg2() with inb() staging: xgifb: replace XGINew_GetReg3() with inl() staging: xgifb: replace XGINew_SetReg3() with outb() staging: xgifb: replace XGINew_SetReg4() with outl() staging: xgifb: rename XGINew_SetReg1() to xgifb_reg_set() staging: xgifb: rename XGINew_GetReg1() to xgifb_reg_get() staging: xgifb: rename XGINew_SetRegOR() to xgifb_reg_or() staging: xgifb: rename XGINew_SetRegANDOR() to xgifb_reg_and_or() staging: xgifb: rename XGINew_SetRegAND() to xgifb_reg_and() staging: xgifb: clean up register access types staging: xgifb: clean up register function variable names drivers/staging/xgifb/XGI_main.h | 3 - drivers/staging/xgifb/XGI_main_26.c | 76 +- drivers/staging/xgifb/XGIfb.h | 18 - drivers/staging/xgifb/vb_ext.c | 354 +-- drivers/staging/xgifb/vb_init.c | 1507 +++++----- drivers/staging/xgifb/vb_setmode.c | 5842 ++++++++++++++++------------------- drivers/staging/xgifb/vb_table.h | 23 - drivers/staging/xgifb/vb_util.c | 124 +- drivers/staging/xgifb/vb_util.h | 16 +- 9 files changed, 3680 insertions(+), 4283 deletions(-) _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel