From patchwork Fri Feb 25 20:48:14 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sedat Dilek X-Patchwork-Id: 591211 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1PKmj2Y000545 for ; Fri, 25 Feb 2011 20:49:08 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7A51D9E782 for ; Fri, 25 Feb 2011 12:48:45 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-bw0-f49.google.com (mail-bw0-f49.google.com [209.85.214.49]) by gabe.freedesktop.org (Postfix) with ESMTP id D4C199E782 for ; Fri, 25 Feb 2011 12:48:36 -0800 (PST) Received: by bwz1 with SMTP id 1so2476178bwz.36 for ; Fri, 25 Feb 2011 12:48:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer; bh=v7C6tg9WXdsNIccPrAzQstBht6zk/M1XkEVOHfiHIf8=; b=VlkB4qmuOH9FuvOAWuzMOaSe3ckgIvzCxYop0cYXBlLoPd4COuFwBEXNXIpZe/Sm6V rqWuEy+LYvxC6DX/F+BKzTL7sNJVtHQ0nkGOVjwCKH+eavF52UkM/iaob1fz2phTH6lg nFNPftQKw023MPOIdUUhHXbOLGI9szWNqsJIM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=D8vWkD4TO92cBpSVa4RMt6FuAhevwo1kh2yEtJmVj0R9I45E8ovhOMt4wKFwZnMN7Q XMOWxYG4Vdm8HPNDQFZ6ZfE5UIy5S5e/wvmmIt1vYzAulQ/rt5MU3gkYd+uzrlGnzRHF q4fs6/tSakMjvZu6iK/T+HbmI/QDIVe2d2nyk= Received: by 10.204.52.134 with SMTP id i6mr2450671bkg.36.1298666910463; Fri, 25 Feb 2011 12:48:30 -0800 (PST) Received: from localhost.localdomain (p548B6C67.dip.t-dialin.net [84.139.108.103]) by mx.google.com with ESMTPS id x38sm714589bkj.13.2011.02.25.12.48.28 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 Feb 2011 12:48:29 -0800 (PST) From: Sedat Dilek To: xorg-driver-ati@lists.x.org, xorg-devel@lists.x.org, dri-devel@lists.freedesktop.org Subject: [PATCH] UMS: Fix build against xserver 1.10-rc3 Date: Fri, 25 Feb 2011 21:48:14 +0100 Message-Id: <1298666894-16198-1-git-send-email-sedat.dilek@gmail.com> X-Mailer: git-send-email 1.7.4.1 Cc: Sedat Dilek X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 25 Feb 2011 20:49:08 +0000 (UTC) diff --git a/src/radeon_output.c b/src/radeon_output.c index 15cef06..ccde346 100644 --- a/src/radeon_output.c +++ b/src/radeon_output.c @@ -1622,7 +1622,7 @@ radeon_set_mode_for_property(xf86OutputPtr output) xf86CrtcPtr crtc = output->crtc; if (crtc->enabled) { -#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,9,99,901,0) +#ifdef RANDR_14_INTERFACE xf86CrtcSetRec crtc_set_rec; crtc_set_rec.flags = (XF86CrtcSetMode |