summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-04-27 17:10:57 +0300
committerAlon Levy <alevy@redhat.com>2011-07-22 03:48:04 +0300
commit76fd7158eb521eb12a18835d7c4f1d3b5f156796 (patch)
tree9d3888ba8fc57d113e31d53fc3fc917858a92985
parent00cc49ce4d8ce48b1c29e9a34c10db410483d4b2 (diff)
xspice: don't load ramdac and vgahw sub modules
-rw-r--r--src/qxl_driver.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index e77d3bb..262f8af 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -1341,9 +1341,12 @@ qxl_pre_init(ScrnInfoPtr pScrn, int flags)
xf86PrintModes(pScrn);
xf86SetDpi(pScrn, 0, 0);
- if (!xf86LoadSubModule(pScrn, "fb") ||
- !xf86LoadSubModule(pScrn, "ramdac") ||
- !xf86LoadSubModule(pScrn, "vgahw"))
+ if (!xf86LoadSubModule(pScrn, "fb")
+#ifndef XSPICE
+ || !xf86LoadSubModule(pScrn, "ramdac")
+ || !xf86LoadSubModule(pScrn, "vgahw")
+#endif
+ )
{
goto out;
}