[Spice-devel] [RFCv2 12/21] xspice: use spiceqxlModuleData as entry point

Alon Levy alevy at redhat.com
Fri Apr 29 02:49:50 PDT 2011


---
 src/qxl_driver.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index 3834d3a..c77a5f1 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -1584,7 +1584,13 @@ static XF86ModuleVersionInfo qxl_module_info = {
     { 0, 0, 0, 0 }
 };
 
-_X_EXPORT XF86ModuleData qxlModuleData = {
+_X_EXPORT XF86ModuleData
+#ifdef XSPICE
+spiceqxlModuleData
+#else
+qxlModuleData
+#endif
+= {
     &qxl_module_info,
     qxl_setup,
     NULL
-- 
1.7.4.4



More information about the Spice-devel mailing list