vmware/vmwgfx: Fix compilation issue on older X servers

Introduced in 268307 "Add support for server managed fds"

Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Jakob Bornecrantz
2014-08-09 00:19:17 +02:00
parent 0a212afefd
commit 0825d98744

View File

@@ -491,8 +491,10 @@ drv_pre_init(ScrnInfoPtr pScrn, int flags)
goto out_err_bus;
}
#ifdef XSERVER_PLATFORM_BUS
if (pEnt->location.type == BUS_PLATFORM)
ms->platform_dev = pEnt->location.id.plat;
#endif
xf86SetPrimInitDone(pScrn->entityList[0]);