diff options
author | Eric Anholt <eric@anholt.net> | 2008-08-08 16:35:25 -0700 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-08-15 10:34:08 +0800 |
commit | d1b47cf0cb66fb1b7c991fbd4f4518c6ccdbc643 (patch) | |
tree | 0fba1129a42329921077cc7646fc07dc04d61410 | |
parent | 86b10601e8798974240ae17539b413c1798d34e1 (diff) |
Set lvds_ddc_mode before use to avoid a segfault on mac mini.
(cherry picked from commit fe90c0522f65f60c4c431787c889b7fb639ab61b)
-rw-r--r-- | src/i830_lvds.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |