From: zhigang.gong@linux.intel.com Subject: [PATCH] uxa/glamor: Use a macro to specify module name. Date: Thu, 2 Feb 2012 11:30:57 +0800 Message-ID: <1328153457-11417-1-git-send-email-zhigang.gong@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id F12EFA0BE9 for ; Wed, 1 Feb 2012 19:46:36 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: chris@chris-wilson.co.uk Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org From: Zhigang Gong Signed-off-by: Zhigang Gong --- src/intel_glamor.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/intel_glamor.c b/src/intel_glamor.c index 446dd3d..f908b7c 100644 --- a/src/intel_glamor.c +++ b/src/intel_glamor.c @@ -67,7 +67,7 @@ intel_glamor_pre_init(ScrnInfoPtr scrn) intel = intel_get_screen_private(scrn); /* Load glamor module */ - if ((glamor_module = xf86LoadSubModule(scrn, "glamor_egl"))) { + if ((glamor_module = xf86LoadSubModule(scrn, GLAMOR_EGL_MODULE_NAME))) { version = xf86GetModuleVersion(glamor_module); if (version < MODULE_VERSION_NUMERIC(0,3,0)) { xf86DrvMsg(scrn->scrnIndex, X_ERROR, -- 1.7.4.4