summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Vignatti <tiago.vignatti@nokia.com>2009-08-31 19:36:02 +0300
committerTiago Vignatti <tiago.vignatti@nokia.com>2009-08-31 19:40:25 +0300
commit38627b2eaf64aa8fe694fc3e1f5e4fee0c9c11c3 (patch)
treec82080ab2f5bfaff644ae84ebc68c8683566944b
parent79182538b43ecd35bf2b47eccfb2dd3bbcdc12eb (diff)
xfree86: shut up vgaarb warnings when server doesn't support it
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
-rw-r--r--hw/xfree86/common/xf86VGAarbiter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/common/xf86VGAarbiter.c b/hw/xfree86/common/xf86VGAarbiter.c
index 7b4aa345e..f8a288234 100644
--- a/hw/xfree86/common/xf86VGAarbiter.c
+++ b/hw/xfree86/common/xf86VGAarbiter.c
@@ -31,6 +31,8 @@
#include "xorg-config.h"
#include "xf86VGAarbiter.h"
+
+#ifdef HAVE_PCI_DEVICE_VGAARB_INIT
#include "xf86VGAarbiterPriv.h"
#include "xf86Bus.h"
#include "pciaccess.h"
@@ -44,8 +46,6 @@
#define DPRINT(x)
#endif
-#ifdef HAVE_PCI_DEVICE_VGAARB_INIT
-
static GCFuncs VGAarbiterGCFuncs = {
VGAarbiterValidateGC, VGAarbiterChangeGC, VGAarbiterCopyGC,
VGAarbiterDestroyGC, VGAarbiterChangeClip, VGAarbiterDestroyClip,