From 42a16bd38a0d09e3e6f33b2319b195aeacfa5084 Mon Sep 17 00:00:00 2001 From: Zhenyu Wang Date: Tue, 17 Jun 2008 09:46:12 +0800 Subject: Fix compiling with server master in LVDS backlight patch (cherry picked from commit 289790c0467d27e96b537598a6589fc6a36da8b8) --- src/i830_lvds.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/i830_lvds.c b/src/i830_lvds.c index ecb41c91..4f62a2b6 100644 --- a/src/i830_lvds.c +++ b/src/i830_lvds.c @@ -1145,6 +1145,8 @@ i830_lvds_set_property(xf86OutputPtr output, Atom property, static Bool i830_lvds_get_property(xf86OutputPtr output, Atom property) { + ScrnInfoPtr pScrn = output->scrn; + I830Ptr pI830 = I830PTR(pScrn); I830OutputPrivatePtr intel_output = output->driver_private; struct i830_lvds_priv *dev_priv = intel_output->dev_priv; int ret; -- cgit v1.2.3