summaryrefslogtreecommitdiff
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:46:12 +0800
commit289790c0467d27e96b537598a6589fc6a36da8b8 (patch)
tree38135471c429e28f3bd2d099b75e37fd0aaea1df
parent66418cc99cfd360e303efcdf74a9ee31d435ff15 (diff)
Fix compiling with server master in LVDS backlight patch
-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;