Commit d0550de1 authored by Dave Airlie's avatar Dave Airlie

sis: fix build against latest xserver

parent 49796d6a
...@@ -1004,7 +1004,9 @@ typedef struct { ...@@ -1004,7 +1004,9 @@ typedef struct {
ScrnInfoPtr pScrn; ScrnInfoPtr pScrn;
pciVideoPtr PciInfo; pciVideoPtr PciInfo;
int PciBus, PciDevice, PciFunc; int PciBus, PciDevice, PciFunc;
#ifndef XSERVER_LIBPCIACCESS
PCITAG PciTag; PCITAG PciTag;
#endif
EntityInfoPtr pEnt; EntityInfoPtr pEnt;
int Chipset; int Chipset;
unsigned char ChipType; unsigned char ChipType;
......
...@@ -237,8 +237,10 @@ struct SiS_Private ...@@ -237,8 +237,10 @@ struct SiS_Private
unsigned char ChipType; unsigned char ChipType;
unsigned char ChipRevision; unsigned char ChipRevision;
#ifdef SIS_XORG_XF86 #ifdef SIS_XORG_XF86
#ifndef XSERVER_LIBPCIACCESS
PCITAG PciTag; PCITAG PciTag;
#endif #endif
#endif
#ifdef SIS_LINUX_KERNEL #ifdef SIS_LINUX_KERNEL
void *ivideo; void *ivideo;
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment