summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-08-23 17:27:20 +0300
committerAlon Levy <alevy@redhat.com>2012-08-23 17:27:20 +0300
commita261befde42d21f3fa9e4a56f121203cc67f3831 (patch)
tree43c99b11c647f91ffdd796683e5558a83aace2c3
parentc1b537fcafc3b9121d8c79cf5e98566158f34ab6 (diff)
qxl_driver: Xspice: fix build breakage
-rw-r--r--src/qxl_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index daa7606..d6edb3a 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -2072,10 +2072,10 @@ qxl_pre_init(ScrnInfoPtr pScrn, int flags)
#ifndef XSERVER_LIBPCIACCESS
qxl->pci_tag = pciTag(qxl->pci->bus, qxl->pci->device, qxl->pci->func);
#endif
-#endif /* XSPICE */
if (qxl->pci->revision < 4) {
ErrorF ("Ignoring monitor config, device revision < 4\n");
}
+#endif /* XSPICE */
pScrn->monitor = pScrn->confScreen->monitor;
if (!qxl_color_setup(pScrn))