From 6337cd23e692cae789d07f429442c425c18e1d4f Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Jul 2009 15:54:38 -0700 Subject: Initialize the other argument to drmSetInterfaceVersion. The kernel ignores it if dd_major is -1, anyway. --- src/i830_driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/i830_driver.c b/src/i830_driver.c index 8986368e..257bd6ca 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -1460,6 +1460,7 @@ i830_open_drm_master(ScrnInfoPtr scrn) sv.drm_di_major = 1; sv.drm_di_minor = 1; sv.drm_dd_major = -1; + sv.drm_dd_minor = -1; err = drmSetInterfaceVersion(i830->drmSubFD, &sv); if (err != 0) { xf86DrvMsg(scrn->scrnIndex, X_ERROR, -- cgit v1.2.3