[PATCH] xf86-video-intel: Fix regression introduced in c2e2fe4
Zhenyu Wang
zhenyu.z.wang at intel.com
Thu Jun 5 19:07:16 PDT 2008
On 2008.06.06 00:51:41 +0200, Tomas Carnecky wrote:
> ---
>
> 'config' is still needed a couple lines into the function.
>
> src/i830_driver.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/i830_driver.c b/src/i830_driver.c
> index 34c83c1..22f38ff 100644
> --- a/src/i830_driver.c
> +++ b/src/i830_driver.c
> @@ -3253,6 +3253,7 @@ I830LeaveVT(int scrnIndex, int flags)
> ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
> I830Ptr pI830 = I830PTR(pScrn);
> #ifndef HAVE_FREE_SHADOW
> + xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(pScrn);
> int o;
> #endif
>
Thanks, pushed this. We should add it under that #ifndef in the
first place, which seems confuse others as with new xserver that
compiler will warn about unused config.
--
Open Source Technology Center, Intel ltd.
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20080606/708db50a/attachment.pgp>
More information about the xorg
mailing list