[PATCH 00/12] staging: xgifb: clean ups for the main module

Aaro Koskinen aaro.koskinen at iki.fi
Mon Apr 18 19:13:56 UTC 2011


The main focus of this set is to get rid of the duplicate register I/O
functions defined in the main module.

Testing:
	- compile-tested with GCC 4.5.2, no warnings
	- tested with Z9 (XG21) on ARM, framebuffer console works

Aaro Koskinen (12):
  staging: xgifb: replace outXGIREG() with outb()
  staging: xgifb: replace inXGIIDXREG() with xgifb_reg_get()
  staging: xgifb: replace outXGIIDXREG() with xgifb_reg_set()
  staging: xgifb: replace orXGIIDXREG() with xgifb_reg_or()
  staging: xgifb: replace andXGIIDXREG() with xgifb_reg_and()
  staging: xgifb: replace setXGIIDXREG() with xgifb_reg_and_or()
  staging: xgifb: delete unused register I/O macros
  staging: xgifb: delete unused register I/O functions
  staging: xgifb: main: move functions to avoid forward declarations
  staging: xgifb: main: delete redudant extern declarations
  staging: xgifb: main: delete unused functions
  staging: xgifb: main: make internal functions static

 drivers/staging/xgifb/XGI_main.h    |  136 -----
 drivers/staging/xgifb/XGI_main_26.c |  939 ++++++++++++++---------------------
 2 files changed, 375 insertions(+), 700 deletions(-)




More information about the devel mailing list