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

From: Peter Huewe
Date: Thu Feb 09 2012 - 15:12:07 EST


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@xxxxxx>

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(-)



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/