summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeepak Singh Rawat <drawat@vmware.com>2017-08-07 16:02:59 -0700
committerSinclair Yeh <syeh@vmware.com>2017-08-07 16:12:56 -0700
commit3aff4ee5ca885d09d3b4ad2b0980b84978597815 (patch)
tree5a381b042dac4ec8987377f1078554c907487748
parentd8c2f8501307a9c0c65601e897e7d919e42ba0b3 (diff)
vmware/vmwgfx: Wrap deprecated
Deprecated with 43dbc556f3a4d743b9121d6cfc21961be4a9da56 Signed-off-by: Deepak Rawat <drawat@vmware.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
-rw-r--r--vmwgfx/vmwgfx_crtc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vmwgfx/vmwgfx_crtc.c b/vmwgfx/vmwgfx_crtc.c
index 415847e..5705aaf 100644
--- a/vmwgfx/vmwgfx_crtc.c
+++ b/vmwgfx/vmwgfx_crtc.c
@@ -243,8 +243,10 @@ crtc_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,
* Intel wrote the crtc code, let's do what the xf86-video-intel driver
* does.
*/
+#if (GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 23)
if (pScreen)
xf86_reload_cursors(pScreen);
+#endif
return TRUE;
}