mirror of
https://github.com/X11Libre/xf86-video-vmware.git
synced 2026-03-24 01:24:37 +00:00
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:
@@ -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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user