summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2008-06-17 09:46:12 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-06-17 09:49:32 +0800
commit42a16bd38a0d09e3e6f33b2319b195aeacfa5084 (patch)
tree59886ff8dc5a741528fe86d9c8119bd98a48b5a1 /src
parent9036c94b28d4f1d65333bc318079f31bf56b3f99 (diff)
Fix compiling with server master in LVDS backlight patch
(cherry picked from commit 289790c0467d27e96b537598a6589fc6a36da8b8)
Diffstat (limited to 'src')
-rw-r--r--src/i830_lvds.c2
1 files changed, 2 insertions, 0 deletions
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;