From d1b47cf0cb66fb1b7c991fbd4f4518c6ccdbc643 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 8 Aug 2008 16:35:25 -0700 Subject: Set lvds_ddc_mode before use to avoid a segfault on mac mini. (cherry picked from commit fe90c0522f65f60c4c431787c889b7fb639ab61b) --- src/i830_lvds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i830_lvds.c b/src/i830_lvds.c index 9f20579a..a8856278 100644 --- a/src/i830_lvds.c +++ b/src/i830_lvds.c @@ -1213,7 +1213,7 @@ i830_lvds_init(ScrnInfoPtr pScrn) xf86OutputPtr output; I830OutputPrivatePtr intel_output; DisplayModePtr modes, scan; - DisplayModePtr lvds_ddc_mode; + DisplayModePtr lvds_ddc_mode = NULL; struct i830_lvds_priv *dev_priv; if (pI830->quirk_flag & QUIRK_IGNORE_LVDS) -- cgit v1.2.3