lkml.org 
[lkml]   [2012]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectstaging/xgifb: Use sis headers and remove duplicated structs and defines (part II)
Date
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@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(-)




\
 
 \ /
  Last update: 2012-02-09 21:15    [from the cache]
©2003-2011 Jasper Spaans