From 4c08c2600936efeedb1a33436876ba82a11218e7 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Fri, 7 Oct 2011 13:15:11 -0700 Subject: Build fix for ABI version 12 This results in the vmware driver assuming there is only one PCI domain, which I think is true for everywhere this is expected to run anyway. Signed-off-by: Jeremy Huddleston --- src/vmware.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/vmware.c b/src/vmware.c index 1be0990..55bde22 100644 --- a/src/vmware.c +++ b/src/vmware.c @@ -612,8 +612,10 @@ VMWAREPreInit(ScrnInfoPtr pScrn, int flags) uint32 width = 0, height = 0; Bool defaultMode; +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12 #ifndef BUILD_FOR_420 domainIOBase = pScrn->domainIOBase; +#endif #endif if (flags & PROBE_DETECT) { -- cgit v1.2.3