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

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    [W:0.053 / U:1.208 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site