staging/xgifb: Use sis headers and remove duplicated structs and defines (part II)

Peter Huewe peterhuewe at gmx.de
Thu Feb 9 20:11:42 UTC 2012


This is the second big chunk of patches which gets rid of (another set of) duplicated structs and
defines in the xgifb driver that are already defined in the sis headers.
This time we tackle the initdef.h.

Since the xgifb driver used the sis driver as a template for development,
a lot of defines and structs were redefined with only slightly different names.
This patchset tries to remove some of these duplicates by including the sis headers
and replacing any xgi struct/define by its identical twin from the sis headers.

The patches should not change any behavior of the driver

Signed-off-by: Peter Huewe <peterhuewe at gmx.de>

git diff --stat origin/staging-next
 drivers/staging/xgifb/XGI_main_26.c |   10 +-
 drivers/staging/xgifb/vb_def.h      |  178 +-------
 drivers/staging/xgifb/vb_init.c     |   18 +-
 drivers/staging/xgifb/vb_setmode.c  |  814 +++++++++++++++++-----------------
 drivers/staging/xgifb/vb_table.h    |  336 +++++++-------
 5 files changed, 602 insertions(+), 754 deletions(-)






More information about the devel mailing list