sis: fix build against latest xserver

This commit is contained in:
Dave Airlie
2014-09-22 12:45:02 +10:00
parent 49796d6a32
commit d0550de19c
2 changed files with 4 additions and 0 deletions

View File

@@ -1004,7 +1004,9 @@ typedef struct {
ScrnInfoPtr pScrn;
pciVideoPtr PciInfo;
int PciBus, PciDevice, PciFunc;
#ifndef XSERVER_LIBPCIACCESS
PCITAG PciTag;
#endif
EntityInfoPtr pEnt;
int Chipset;
unsigned char ChipType;

View File

@@ -237,8 +237,10 @@ struct SiS_Private
unsigned char ChipType;
unsigned char ChipRevision;
#ifdef SIS_XORG_XF86
#ifndef XSERVER_LIBPCIACCESS
PCITAG PciTag;
#endif
#endif
#ifdef SIS_LINUX_KERNEL
void *ivideo;
#endif