summaryrefslogtreecommitdiff
path: root/src/i830_lvds.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-08-08 16:35:25 -0700
committerEric Anholt <eric@anholt.net>2008-08-08 16:35:25 -0700
commitfe90c0522f65f60c4c431787c889b7fb639ab61b (patch)
tree364a383ab9651d215a7288b2f227ad4401b8e940 /src/i830_lvds.c
parent91e7b93c12f612e41b04a2d6106ff29b53b22a43 (diff)
Set lvds_ddc_mode before use to avoid a segfault on mac mini.
Diffstat (limited to 'src/i830_lvds.c')
-rw-r--r--src/i830_lvds.c2
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)