xfree86: shut up vgaarb warnings when server doesn't support it

Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
This commit is contained in:
Tiago Vignatti 2009-08-31 19:36:02 +03:00
parent 79182538b4
commit 38627b2eaf

View File

@ -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,