From: Peter Huewe Date: Thu, 9 Feb 2012 20:11:43 +0000 (+0100) Subject: staging/xgifb: Include sis initdef.h header X-Git-Tag: v3.4-rc1~186^2~176^2~26 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=84359ef62aa36dc92508547852587b284c2664d2;p=cascardo%2Flinux.git staging/xgifb: Include sis initdef.h header This patch includes the initdef.h header from the sis driver. Since the xgi driver used to redefine a lot of stuff from the sis driver, we can simply include the headers of the sis driver itself, so we can remove duplicated stuff later on. In order to include the initdef.h we have to rename the header guards. Signed-off-by: Peter Huewe Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/xgifb/vb_def.h b/drivers/staging/xgifb/vb_def.h index 5beeef99bb14..0472c86b2923 100644 --- a/drivers/staging/xgifb/vb_def.h +++ b/drivers/staging/xgifb/vb_def.h @@ -1,7 +1,8 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/xgi/initdef.h * ,v 1.4 2000/12/02 01:16:17 dawes Exp $*/ -#ifndef _INITDEF_ -#define _INITDEF_ +#ifndef _VB_DEF_ +#define _VB_DEF_ +#include "../../video/sis/initdef.h" #define VB_XGI301C 0x0020 /* for 301C */ /*end 301b*/